OrderedInfSampler.h
An informed sampler wrapper that generates m samples and then returns them in order of the heuristic.
Definition: OrderedInfSampler.h:57
bool hasInformedMeasure() const override
Whether the wrapped sampler can provide a measure of the informed subset.
Definition: OrderedInfSampler.cpp:106
double getInformedMeasure(const Cost ¤tCost) const override
The measure of the subset of the state space defined by the current solution cost that is being searc...
Definition: OrderedInfSampler.cpp:111
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:48
OrderedInfSampler(const InformedSamplerPtr &infSamplerPtr, unsigned int batchSize)
Construct an ordering wrapper around the provided informed sampler.
Definition: OrderedInfSampler.cpp:45
bool sampleUniform(State *statePtr, const Cost &maxCost) override
Sample uniformly in the subset of the state space whose heuristic solution estimates are less than th...
Definition: OrderedInfSampler.cpp:56
An abstract class for the concept of using information about the state space and the current solution...
Definition: InformedStateSampler.h:61