ReverseQueue.cpp
49 ReverseQueue::ReverseQueue(const std::shared_ptr<const ompl::base::OptimizationObjective> &objective,
186 edgeEffort = 0u;
194 const std::size_t performedChecks = edge.target->getIncomingCollisionCheckResolution(edge.source);
206 if (std::numeric_limits<unsigned int>::max() - edgeEffort - edge.source->getEstimatedEffortToGo() <
213 }
262 }
279 const std::size_t performedChecks = edge.target->getIncomingCollisionCheckResolution(edge.source);
288 if (std::numeric_limits<unsigned int>::max() - edgeEffort - edge.source->getEstimatedEffortToGo() <
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
LessThan & getComparisonOperator()
Return a reference to the comparison operator.
Definition: BinaryHeap.h:298
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
void getContent(std::vector< _T > &content) const
Get the data stored in this heap.
Definition: BinaryHeap.h:271
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