TypedSpaceInformation.h
void freeTypedState(StateType *state) const
Definition: TypedSpaceInformation.h:200
void copyTypedState(StateType *destination, const StateType *source) const
Definition: TypedSpaceInformation.h:212
void allocTypedStates(std::vector< StateType * > &states) const
Definition: TypedSpaceInformation.h:194
StateType * cloneTypedState(const StateType *source) const
Definition: TypedSpaceInformation.h:218
void freeTypedStates(std::vector< StateType * > &states) const
Definition: TypedSpaceInformation.h:206
std::shared_ptr< TypedSpaceInformation< SpaceType > > Ptr
Definition: TypedSpaceInformation.h:162
typename SpaceType::StateType StateType
Definition: TypedSpaceInformation.h:153
void copyState(State *destination, const State *source) const
Copy a state to another.
Definition: SpaceInformation.h:315
std::shared_ptr< SpaceType > SpacePtr
Definition: TypedSpaceInformation.h:159
void allocStates(std::vector< State * > &states) const
Allocate memory for each element of the array states.
Definition: SpaceInformation.h:295
const SpaceType * getTypedStateSpace() const
Definition: TypedSpaceInformation.h:174
TypedSpaceInformation(const SpacePtr &space)
Definition: TypedSpaceInformation.h:167
StateType * allocTypedState() const
Definition: TypedSpaceInformation.h:188
void freeStates(std::vector< State * > &states) const
Free the memory of an array of states.
Definition: SpaceInformation.h:308
ScopedState< SpaceType > ScopedStateType
Definition: TypedSpaceInformation.h:156
const StateSpacePtr & getStateSpace() const
Return the instance of the used state space.
Definition: SpaceInformation.h:164
SpaceType_ SpaceType
Definition: TypedSpaceInformation.h:150