OrderedInfSampler.cpp
45 OrderedInfSampler::OrderedInfSampler(const InformedSamplerPtr &infSamplerPtr, unsigned int batchSize)
72 // Does the front of the priority queue meet our requirement (as the requirement may have changed since
74 if (InformedSampler::opt_->isCostBetterThan(InformedSampler::heuristicSolnCost(orderedSamples_.top()),
109 }
120 }
bool hasInformedMeasure() const override
Whether the wrapped sampler can provide a measure of the informed subset.
Definition: OrderedInfSampler.cpp:170
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:175
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:111
OrderedInfSampler(const InformedSamplerPtr &infSamplerPtr, unsigned int batchSize)
Construct an ordering wrapper around the provided informed sampler.
Definition: OrderedInfSampler.cpp:109
OptimizationObjectivePtr opt_
A copy of the optimization objective.
Definition: InformedStateSampler.h:179
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:120
virtual Cost heuristicSolnCost(const State *statePtr) const
A helper function to calculate the heuristic estimate of the solution cost for a given state using th...
Definition: InformedStateSampler.cpp:141
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65