Loading...
Searching...
No Matches
Vertex.h
178 void setIncomingCollisionCheckResolution(const std::size_t vertexId, std::size_t numChecks) const;
257 void setForwardValidParent(const std::shared_ptr<Vertex> &vertex, const ompl::base::Cost &edgeCost);
258 void setReverseValidParent(const std::shared_ptr<Vertex> &vertex, const ompl::base::Cost &edgeCost);
261 void setReverseVertexParent(const std::shared_ptr<Vertex> &vertex, const ompl::base::Cost &edgeCost);
262 void setForwardVertexParent(const std::shared_ptr<Vertex> &vertex, const ompl::base::Cost &edgeCost);
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition Cost.h:48
void whitelistAsChild(const std::shared_ptr< Vertex > &vertex) const
Whitelists a child.
Definition Vertex.cpp:504
ompl::base::State * getState()
Provides write access to the underlying state.
Definition Vertex.cpp:116
void setCostToComeFromStart(const ompl::base::Cost &cost)
Sets the cost to come to this vertex.
Definition Vertex.cpp:255
bool isBlacklistedAsChild(const std::shared_ptr< Vertex > &vertex) const
Returns whether a child is blacklisted.
Definition Vertex.cpp:557
void setCostToGoToGoal(const ompl::base::Cost &cost)
Sets the cost to go To goal heuristic of this vertex.
Definition Vertex.cpp:318
void blacklistAsChild(const std::shared_ptr< Vertex > &vertex) const
Blacklists a child.
Definition Vertex.cpp:552
void setCostToComeFromGoal(const ompl::base::Cost &cost)
Sets the cost to come to this vertex from the goal.
Definition Vertex.cpp:273
std::vector< std::shared_ptr< Vertex > > getForwardChildren() const
Returns this vertex's children in the forward search tree.
Definition Vertex.cpp:609
std::shared_ptr< Vertex > getReverseParent() const
Returns the parent of the vertex (in the reverse-search tree).
Definition Vertex.cpp:240
Vertex(const ompl::base::SpaceInformationPtr &spaceInformation, const ompl::base::ProblemDefinitionPtr &problemDefinition, const std::size_t &batchId)
Constructs a vertex by sampling a state.
Definition Vertex.cpp:63
bool isGoal()
set and evalue whether this vertex is a start, goal or meeting state.
Definition Vertex.cpp:136
void setLowerCostBoundToGoal(const ompl::base::Cost &ToGoal)
Set the lower-cost-bound-to-go of this vertex.
Definition Vertex.cpp:377
ompl::base::Cost getCostToComeFromStart() const
Returns the cost to come to this vertex from the start.
Definition Vertex.cpp:131
void cacheNeighbors(const std::vector< std::shared_ptr< Vertex > > &neighbors) const
Caches the neighbors for the current approximation.
Definition Vertex.cpp:585
void removeFromReverseChildren(std::size_t vertexId)
Removes a vertex from this vertex's forward children.
Definition Vertex.cpp:485
ompl::base::Cost getEdgeCostFromReverseParent() const
Returns the edge cost from the reverse parent.
Definition Vertex.cpp:205
bool isWhitelistedAsChild(const std::shared_ptr< Vertex > &vertex) const
Returns whether a child is whitelisted.
Definition Vertex.cpp:509
ompl::base::Cost getLowerCostBoundToGoal()
Set the the lower bound of the estimated heuristic value.
Definition Vertex.cpp:387
std::vector< std::shared_ptr< Vertex > > getReverseChildren() const
Returns this vertex's children in the reverse search tree.
Definition Vertex.cpp:620
void setForwardEdgeCost(const ompl::base::Cost &cost)
Sets the cost to come to this vertex.
Definition Vertex.cpp:250
VertexQueue::Element * getForwardVertexQueuePointer() const
Returns the reverse queue pointer of this vertex.
Definition Vertex.cpp:659
bool hasForwardParent() const
Returns whether this vertex has a parent in either search.
Definition Vertex.cpp:210
void setForwardValidParent(const std::shared_ptr< Vertex > &vertex, const ompl::base::Cost &edgeCost)
Sets the valid parent vertex (in a valid path).
Definition Vertex.cpp:392
void addToForwardChildren(const std::shared_ptr< Vertex > &vertex)
Adds a vertex to this vertex's forward children.
Definition Vertex.cpp:456
void setForwardVertexQueuePointer(typename VertexQueue::Element *pointer)
Sets the reverse queue pointer of this vertex.
Definition Vertex.cpp:643
void setForwardId(const std::size_t counter)
Set the current search counter.
Definition Vertex.cpp:154
ompl::base::Cost getCostToGoToGoal() const
Returns the cost to go heuristic from this vertex.
Definition Vertex.cpp:185
void removeFromForwardChildren(std::size_t vertexId)
Removes a vertex from this vertex's forward children.
Definition Vertex.cpp:461
ompl::base::ScopedState getScopedState() const
Returns a scoped copy of the underlying state.
Definition Vertex.cpp:126
ompl::base::Cost getCostToComeFromGoal() const
Returns the cost to come to this vertex from the goal.
Definition Vertex.cpp:180
bool hasCachedNeighbors() const
Returns whether the vertex knows its nearest neighbors on the current approximation.
Definition Vertex.cpp:580
const std::vector< std::shared_ptr< Vertex > > getNeighbors() const
Returns the nearest neighbors, throws if not up to date.
Definition Vertex.cpp:592
void setCostToGoToStart(const ompl::base::Cost &cost)
Sets the cost to go To start heuristic of this vertex.
Definition Vertex.cpp:323
void addToReverseChildren(const std::shared_ptr< Vertex > &vertex)
Adds a vertex this vertex's children.
Definition Vertex.cpp:480
std::shared_ptr< Vertex > getForwardParent() const
Returns the parent of the vertex (in the forward-search tree).
Definition Vertex.cpp:220
void setReverseVertexParent(const std::shared_ptr< Vertex > &vertex, const ompl::base::Cost &edgeCost)
Sets the parent vertex (in the reverse or forward -search tree).
Definition Vertex.cpp:432
ompl::base::Cost getValidForwardEdgeCost() const
Returns the valid edge cost from the forward and backward tree on a valid path.
Definition Vertex.cpp:195
ompl::base::Cost getEdgeCostFromForwardParent() const
Returns the edge cost from the forward parent.
Definition Vertex.cpp:190
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