OrderedInfSampler.h
87 std::priority_queue<State *, std::vector<State *>, std::function<bool(const State *, const State *)>>
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:48
An abstract class for the concept of using information about the state space and the current solution...
Definition: InformedStateSampler.h:61
An informed sampler wrapper that generates m samples and then returns them in order of the heuristic.
Definition: OrderedInfSampler.h:57
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
OrderedInfSampler(const InformedSamplerPtr &infSamplerPtr, unsigned int batchSize)
Construct an ordering wrapper around the provided informed sampler.
Definition: OrderedInfSampler.cpp:45
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
bool hasInformedMeasure() const override
Whether the wrapped sampler can provide a measure of the informed subset.
Definition: OrderedInfSampler.cpp:106