MorseControlSpace.cpp
43 const base::MorseEnvironmentPtr &getMorseStateSpaceEnvironmentWithCheck(const base::StateSpacePtr &space)
54 : RealVectorControlSpace(stateSpace, getMorseStateSpaceEnvironmentWithCheck(stateSpace)->controlDim_)
void setBounds(const base::RealVectorBounds &bounds)
Set the bounds (min max values for each dimension) for the control.
Definition: RealVectorControlSpace.cpp:58
const std::string & getName() const
Get the name of the control space.
Definition: ControlSpace.cpp:72
void setName(const std::string &name)
Set the name of the control space.
Definition: ControlSpace.cpp:77
MorseControlSpace(const base::StateSpacePtr &stateSpace)
Construct a representation of controls passed to MORSE. If stateSpace does not cast to an MorseStateS...
Definition: MorseControlSpace.cpp:53
const base::MorseEnvironmentPtr & getEnvironment() const
Get the MORSE environment this state space corresponds to.
Definition: MorseControlSpace.h:158
@ CONTROL_SPACE_TYPE_COUNT
Number of control space types; To add new types, use values that are larger than the count.
Definition: ControlSpaceTypes.h:155
A control space representing Rn.
Definition: RealVectorControlSpace.h:125
The lower and upper bounds for an Rn space.
Definition: RealVectorBounds.h:111