Loading...
Searching...
No Matches
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;
This class provides an implementation of an updatable min-heap. Using it is a bit cumbersome,...
Definition BinaryHeap.h:53
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition Cost.h:48
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:49
ompl::base::Cost getLowerBoundOnOptimalSolutionCost() const
Returns a lower bound on the resolution-optimal solution cost.
Definition ReverseQueue.cpp:332
void insertOrUpdate(const Edge &edge)
Inserts or updates an element in the queue.
Definition ReverseQueue.cpp:69
unsigned int computeAdmissibleSolutionEffort(const Edge &edge) const
Returns the admissible total potential effort of an edge.
Definition ReverseQueue.cpp:180
unsigned int peekEffort() const
Get the effort corresponding to the top edge of the queue.
Definition ReverseQueue.cpp:129
void removeOutgoingEdges(const std::shared_ptr< Vertex > &vertex)
Removes the outgoing edges of a vertex from the queue.
Definition ReverseQueue.cpp:369
void setCostQueueOrder(const bool isQueueCostOrdered)
Updates the queue ordering depending on the given suboptimality factor.
Definition ReverseQueue.cpp:99
ompl::base::Cost computeAdmissibleSolutionCost(const Edge &edge) const
Returns the admissible total potential solution cost of an edge.
Definition ReverseQueue.cpp:165
const Edge & peek() const
Get a reference to the top edge in the queue.
Definition ReverseQueue.cpp:117
std::vector< Edge > getEdges() const
Copies all edges into a vector and returns the vector.
Definition ReverseQueue.cpp:349
This namespace contains code that is specific to planning under geometric constraints.
Definition GeneticSearch.h:48
Main namespace. Contains everything in this library.
Definition MultiLevelPlanarManipulatorDemo.cpp:66