Public Member Functions | Private Attributes | List of all members
Path< StateType, ActionType > Class Template Reference

#include <SearchProblem.hpp>

Public Member Functions

void addAction (ActionType action)
 
void addState (StateType state)
 
bool containsState (StateType state)
 
ActionType getAction (unsigned int index)
 
std::list< ActionType > * getActions ()
 
StateType getLastState ()
 
int getNumberOfSteps ()
 
StateType getState (unsigned int index)
 
std::list< StateType > * getStates ()
 
 Path ()
 
 Path (const Path< StateType, ActionType > &p)
 
void setAction (ActionType action, int index)
 
void setState (StateType state, int index)
 

Private Attributes

std::list< ActionType > actions
 
std::list< StateType > states
 

Detailed Description

template<class StateType, class ActionType>
class Path< StateType, ActionType >

Definition at line 9 of file SearchProblem.hpp.

Constructor & Destructor Documentation

template<class StateType, class ActionType>
Path< StateType, ActionType >::Path ( )
inline

Definition at line 15 of file SearchProblem.hpp.

template<class StateType, class ActionType>
Path< StateType, ActionType >::Path ( const Path< StateType, ActionType > &  p)
inline

Definition at line 16 of file SearchProblem.hpp.

Member Function Documentation

template<class StateType, class ActionType>
void Path< StateType, ActionType >::addAction ( ActionType  action)
inline

Definition at line 25 of file SearchProblem.hpp.

template<class StateType, class ActionType>
void Path< StateType, ActionType >::addState ( StateType  state)
inline

Definition at line 21 of file SearchProblem.hpp.

template<class StateType, class ActionType>
bool Path< StateType, ActionType >::containsState ( StateType  state)
inline

Definition at line 74 of file SearchProblem.hpp.

template<class StateType, class ActionType>
ActionType Path< StateType, ActionType >::getAction ( unsigned int  index)
inline

Definition at line 50 of file SearchProblem.hpp.

template<class StateType, class ActionType>
std::list<ActionType>* Path< StateType, ActionType >::getActions ( )
inline

Definition at line 62 of file SearchProblem.hpp.

template<class StateType, class ActionType>
StateType Path< StateType, ActionType >::getLastState ( )
inline

Definition at line 66 of file SearchProblem.hpp.

template<class StateType, class ActionType>
int Path< StateType, ActionType >::getNumberOfSteps ( )
inline

Definition at line 70 of file SearchProblem.hpp.

template<class StateType, class ActionType>
StateType Path< StateType, ActionType >::getState ( unsigned int  index)
inline

Definition at line 41 of file SearchProblem.hpp.

template<class StateType, class ActionType>
std::list<StateType>* Path< StateType, ActionType >::getStates ( )
inline

Definition at line 58 of file SearchProblem.hpp.

template<class StateType, class ActionType>
void Path< StateType, ActionType >::setAction ( ActionType  action,
int  index 
)
inline

Definition at line 35 of file SearchProblem.hpp.

template<class StateType, class ActionType>
void Path< StateType, ActionType >::setState ( StateType  state,
int  index 
)
inline

Definition at line 29 of file SearchProblem.hpp.

Member Data Documentation

template<class StateType, class ActionType>
std::list<ActionType> Path< StateType, ActionType >::actions
private

Definition at line 13 of file SearchProblem.hpp.

template<class StateType, class ActionType>
std::list<StateType> Path< StateType, ActionType >::states
private

Definition at line 12 of file SearchProblem.hpp.


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


igvc
Author(s): Matthew Barulic , Al Chaussee
autogenerated on Sun May 10 2015 16:18:45