TorusStateSpace.h
118 }
double distance(const State *state1, const State *state2) const override
Computes distance between two states. This function satisfies the properties of a metric if isMetricS...
Definition: TorusStateSpace.cpp:114
void sampleGaussian(State *state, const State *mean, double stdDev) override
Sample a state using a Gaussian distribution with given mean and standard deviation (stdDev).
Definition: TorusStateSpace.cpp:89
void sampleUniformNear(State *state, const State *near, double distance) override
Sample a state near another, within a neighborhood controlled by a distance parameter.
Definition: TorusStateSpace.cpp:80
StateSamplerPtr allocDefaultStateSampler() const override
Allocate an instance of the default uniform state sampler for this space.
Definition: TorusStateSpace.cpp:109
State * allocState() const override
Allocate a state that can store a point in the described space.
Definition: TorusStateSpace.cpp:123
ompl::base::CompoundState StateType
Define the type of state allocated by this state space.
Definition: StateSpace.h:641
A shared pointer wrapper for ompl::base::StateSampler.