Class sdm::Observation

Class List > sdm > Observation

A public interface for observations. More...

  • #include <observation.hpp>

Inherits the following classes: sdm::Item

Inherited by the following classes: sdm::BaseObservation, sdm::State

Public Functions

Type Name
virtual std::string str () const = 0
Get a string describing the current item.
virtual ~Observation ()

Public Functions inherited from sdm::Item

See sdm::Item

Type Name
virtual std::shared_ptr< Item > getPointer ()
Get the shared_ptr on current (this) item.
virtual bool isBaseItem ()
virtual std::string str () const = 0
Get a string describing the current item.
std::shared_ptr< T > to ()
virtual std::shared_ptr< Action > toAction ()
Cast the item into a pointer on action.
virtual std::shared_ptr< Item > toItem ()
Cast the item into a pointer on item.
virtual std::shared_ptr< Observation > toObservation ()
Cast the item into a pointer on observation.
virtual std::shared_ptr< State > toState ()
Cast the item into a pointer on state.

Public Functions inherited from std::inheritable_enable_shared_from_this

See std::inheritable_enable_shared_from_this

Type Name
std::shared_ptr< Down > downcasted_shared_from_this ()
std::shared_ptr< T > shared_from_this ()

Public Functions inherited from std::MultipleInheritableEnableSharedFromThis

See std::MultipleInheritableEnableSharedFromThis

Type Name
virtual ~MultipleInheritableEnableSharedFromThis ()

Detailed Description

Any class inheriting from this interface will be considered as generic observation for algorithms. Consider sections Theoritical Background (opens new window) and Algorithms (opens new window) for more information.

Public Functions Documentation

function str

virtual std::string sdm::Observation::str () const = 0

Returns:

std::string the description of the item

Implements sdm::Item::str

function ~Observation

inline virtual sdm::Observation::~Observation () 

The documentation for this class was generated from the following file src/sdm/core/observation/observation.hpp