ReverseQueue.h
115 using HeapElement = std::tuple<ompl::base::Cost, ompl::base::Cost, unsigned int, unsigned int, Edge>;
129 std::function<bool(const HeapElement &, const HeapElement &)> getCostComparisonOperator() const;
ompl::base::Cost getLowerBoundOnOptimalSolutionCost() const
Returns a lower bound on the resolution-optimal solution cost.
Definition: ReverseQueue.cpp:427
std::vector< Edge > getEdges() const
Copies all edges into a vector and returns the vector.
Definition: ReverseQueue.cpp:444
void setCostQueueOrder(const bool isQueueCostOrdered)
Updates the queue ordering depending on the given suboptimality factor.
Definition: ReverseQueue.cpp:195
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:111
unsigned int peekEffort() const
Get the effort corresponding to the top edge of the queue.
Definition: ReverseQueue.cpp:225
This class provides an implementation of an updatable min-heap. Using it is a bit cumbersome,...
Definition: BinaryHeap.h:84
void removeOutgoingEdges(const std::shared_ptr< Vertex > &vertex)
Removes the outgoing edges of a vertex from the queue.
Definition: ReverseQueue.cpp:464
ompl::base::Cost computeAdmissibleSolutionCost(const Edge &edge) const
Returns the admissible total potential solution cost of an edge.
Definition: ReverseQueue.cpp:262
void insertOrUpdate(const Edge &edge)
Inserts or updates an element in the queue.
Definition: ReverseQueue.cpp:165
const Edge & peek() const
Get a reference to the top edge in the queue.
Definition: ReverseQueue.cpp:213
unsigned int computeAdmissibleSolutionEffort(const Edge &edge) const
Returns the admissible total potential effort of an edge.
Definition: ReverseQueue.cpp:277
std::size_t size() const
Returns the number of elements in the queue.
Definition: ReverseQueue.cpp:160
ReverseQueue(const std::shared_ptr< const ompl::base::OptimizationObjective > &objective, const std::shared_ptr< const ompl::base::StateSpace > &space, const bool isQueueCostOrdered)
Constructs the queue with the given optimization objective and state space.
Definition: ReverseQueue.cpp:145