Public Member Functions

state< observation_type > Class Template Reference

#include <state.h>

Inheritance diagram for state< observation_type >:
skeleton_state< observation_type > angle_bgsub_state< observation_type > angle_state< observation_type > bgsub_state< observation_type > hull_state< observation_type > projection_state< observation_type > stick2d_state< observation_type > stick_state< observation_type > brownian_state< observation_type > brownian_stick_state< observation_type > KBK_stick_state< observation_type > pik_state< observation_type > pik_stick_state< observation_type > tangent_state< observation_type >

List of all members.

Public Member Functions

virtual ~state ()
virtual double predict (const observation_type &observation, const double variance_scale=1.0)=0
virtual void show (const double gray_level=0.5) const =0
virtual void save (const std::string filename) const =0
virtual void save (std::ofstream &file) const =0
void write_to_log (std::ofstream &file) const

Detailed Description

template<class observation_type>
class state< observation_type >

An abstract class for representing the state of the particle filter.


Constructor & Destructor Documentation

template<class observation_type>
virtual state< observation_type >::~state (  )  [inline, virtual]

Member Function Documentation

template<class observation_type>
virtual double state< observation_type >::predict ( const observation_type &  observation,
const double  variance_scale = 1.0 
) [pure virtual]
template<class observation_type>
virtual void state< observation_type >::save ( std::ofstream &  file  )  const [pure virtual]

Save the state to a stream.

Parameters:
[in] file The output stream.

Implemented in skeleton_state< observation_type >, and skeleton_state< point_cloud_and_stick >.

template<class observation_type>
virtual void state< observation_type >::save ( const std::string  filename  )  const [pure virtual]

Save the state to a file.

Parameters:
[in] filename The output filename.

Implemented in skeleton_state< observation_type >, and skeleton_state< point_cloud_and_stick >.

template<class observation_type>
virtual void state< observation_type >::show ( const double  gray_level = 0.5  )  const [pure virtual]

Visualise the state.

Parameters:
[in] gray_level The gray-scale value when drawing the state.

Implemented in skeleton_state< observation_type >, and skeleton_state< point_cloud_and_stick >.

template<class observation_type>
void state< observation_type >::write_to_log ( std::ofstream &  file  )  const [inline]

Write relevant state information to the log.

Parameters:
[in] file The stream of the log file.

Reimplemented in angle_bgsub_state< observation_type >, KBK_stick_state< observation_type >, and KBK_stick_state< point_cloud_and_stick >.


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