DiscreteStateSpace.h
83 DiscreteStateSpace(int lowerBound, int upperBound) : StateSpace(), lowerBound_(lowerBound), upperBound_(upperBound)
117 virtual void interpolate(const State *from, const State *to, const double t, State *state) const;
The definition of a discrete state.
Definition: DiscreteStateSpace.h:74
A boost shared pointer wrapper for ompl::base::StateSampler.
virtual void sampleGaussian(State *state, const State *mean, const double stdDev)
Sample a state using a Gaussian distribution with given mean and standard deviation (stdDev) ...
Definition: DiscreteStateSpace.cpp:58
virtual void sampleUniformNear(State *state, const State *near, const double distance)
Sample a state near another, within specified distance.
Definition: DiscreteStateSpace.cpp:49
unsigned int getStateCount() const
Returns the number of states possible.
Definition: DiscreteStateSpace.h:132
void setBounds(int lowerBound, int upperBound)
Set the bounds for the states in this space (the states will be in the set [lowerBound, upperBound].
Definition: DiscreteStateSpace.h:150
State space sampler for discrete states.
Definition: DiscreteStateSpace.h:48
Representation of a space in which planning can be performed. Topology specific sampling, interpolation and distance are defined.
Definition: StateSpace.h:73
DiscreteStateSpace(int lowerBound, int upperBound)
Construct a discrete space in wich states can take values in the set [lowerBound, upperBound]...
Definition: DiscreteStateSpace.h:83
A space representing discrete states; i.e. there are a small number of discrete states the system can...
Definition: DiscreteStateSpace.h:69
int value
The current state - an int in range [lowerBound, upperBound].
Definition: DiscreteStateSpace.h:79