Loading...
Searching...
No Matches
Vertex.h
65 const std::shared_ptr<ompl::base::OptimizationObjective> &objective, const Direction &direction);
84 updateCurrentCostOfChildren(const std::shared_ptr<ompl::base::OptimizationObjective> &objective);
128 void callOnBranch(const std::function<void(const std::shared_ptr<eitstar::State> &)> &function);
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
void callOnBranch(const std::function< void(const std::shared_ptr< eitstar::State > &)> &function)
Recursively calls the given function on this vertex and all its children in the tree.
Definition Vertex.cpp:216
const std::vector< std::shared_ptr< Vertex > > & getChildren() const
Returns the children of this vertex.
Definition Vertex.cpp:95
ompl::base::Cost getEdgeCost() const
Returns the cost of the edge in the forward tree that leads to this vertex.
Definition Vertex.cpp:171
friend class ReverseQueue
The edge queue is a friend class to allow efficient updates of outgoing edges of this vertex in the q...
Definition Vertex.h:161
std::weak_ptr< Vertex > getTwin() const
Returns the twin of this vertex, i.e., the vertex in the other search tree with the same underlying s...
Definition Vertex.cpp:161
void setEdgeCost(const ompl::base::Cost &edgeCost)
Sets the cost of the edge in the forward tree that leads to this vertex.
Definition Vertex.cpp:166
void addChild(const std::shared_ptr< Vertex > &vertex)
Adds the given vertex to this vertex's children.
Definition Vertex.cpp:121
void removeChild(const std::shared_ptr< Vertex > &vertex)
Removes the given vertex from this vertex's children.
Definition Vertex.cpp:129
void updateParent(const std::shared_ptr< Vertex > &vertex)
Resets the parent of this vertex.
Definition Vertex.cpp:176
std::size_t getExpandTag() const
Returns the tag when this vertex was last expanded.
Definition Vertex.cpp:206
std::vector< std::shared_ptr< Vertex > > updateCurrentCostOfChildren(const std::shared_ptr< ompl::base::OptimizationObjective > &objective)
Update the cost-to-come of this vertex's children.
Definition Vertex.cpp:106
std::shared_ptr< State > getState() const
Returns the state associated with this vertex.
Definition Vertex.cpp:90
void setTwin(const std::shared_ptr< Vertex > &vertex)
Sets the twin of this vertex, i.e., the vertex in the other search tree with the same underlying stat...
Definition Vertex.cpp:196
std::weak_ptr< Vertex > getParent() const
Returns the parent of this vertex.
Definition Vertex.cpp:146
bool isParent(const std::shared_ptr< Vertex > &vertex) const
Returns whether the given vertex is this vertex's parent.
Definition Vertex.cpp:151
Vertex(const std::shared_ptr< State > &state, const std::shared_ptr< ompl::base::OptimizationObjective > &objective, const Direction &direction)
Constructs the vertex, which must be associated with a state.
Definition Vertex.cpp:59
void registerExpansionInReverseSearch(std::size_t tag)
Sets the expand tag when this vertex was last expanded.
Definition Vertex.cpp:211
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