aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
gum::prm::o3prmr::ObserveCommand< GUM_SCALAR > Class Template Reference

#include <O3prmrContext.h>

Inheritance diagram for gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >:
Collaboration diagram for gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >:

Public Types

enum class  RequestType : char {
  Observe , Unobserve , Query , SetEngine ,
  SetGndEngine
}

Public Member Functions

 ObserveCommand (int line, const std::string &leftValue, const std::string &rightValue)
 ObserveCommand (const ObserveCommand &c)
RequestType type () const
std::string toString () const

Public Attributes

std::string leftValue
std::string rightValue
const PRMSystem< GUM_SCALAR > * system
PRMInference< GUM_SCALAR >::Chain chain
Tensor< GUM_SCALAR > potentiel
int line

Detailed Description

template<typename GUM_SCALAR>
class gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >

Definition at line 130 of file O3prmrContext.h.

Member Enumeration Documentation

◆ RequestType

enum class gum::prm::o3prmr::O3prmrCommand::RequestType : char
stronginherited
Enumerator
Observe 
Unobserve 
Query 
SetEngine 
SetGndEngine 

Definition at line 70 of file O3prmrContext.h.

70: char { Observe, Unobserve, Query, SetEngine, SetGndEngine };

Constructor & Destructor Documentation

◆ ObserveCommand() [1/2]

template<typename GUM_SCALAR>
gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::ObserveCommand ( int line,
const std::string & leftValue,
const std::string & rightValue )
inline

Definition at line 132 of file O3prmrContext.h.

References gum::prm::o3prmr::O3prmrCommand::O3prmrCommand(), leftValue, gum::prm::o3prmr::O3prmrCommand::line, rightValue, and system.

Referenced by ObserveCommand().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ObserveCommand() [2/2]

template<typename GUM_SCALAR>
gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::ObserveCommand ( const ObserveCommand< GUM_SCALAR > & c)
inline

Definition at line 135 of file O3prmrContext.h.

References gum::prm::o3prmr::O3prmrCommand::O3prmrCommand(), ObserveCommand(), chain, leftValue, rightValue, and system.

Here is the call graph for this function:

Member Function Documentation

◆ toString()

template<typename GUM_SCALAR>
std::string gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::toString ( ) const
inlinevirtual

Implements gum::prm::o3prmr::O3prmrCommand.

Definition at line 147 of file O3prmrContext.h.

147{ return leftValue + " = " + rightValue + ";"; }

References leftValue, and rightValue.

◆ type()

template<typename GUM_SCALAR>
RequestType gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::type ( ) const
inlinevirtual

Member Data Documentation

◆ chain

template<typename GUM_SCALAR>
PRMInference<GUM_SCALAR>::Chain gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::chain

◆ leftValue

template<typename GUM_SCALAR>
std::string gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::leftValue

◆ line

◆ potentiel

template<typename GUM_SCALAR>
Tensor< GUM_SCALAR > gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::potentiel

◆ rightValue

template<typename GUM_SCALAR>
std::string gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::rightValue

◆ system

template<typename GUM_SCALAR>
const PRMSystem< GUM_SCALAR >* gum::prm::o3prmr::ObserveCommand< GUM_SCALAR >::system

The documentation for this class was generated from the following file: