Class State
Defined in File State.h
Inheritance Relationships
Base Type
public std::enable_shared_from_this< State >
Class Documentation
-
class State : public std::enable_shared_from_this<State>
A wrapper class for OMPL’s state.
Public Functions
Constructs the state, allocating the associated memory using information about the underlying space.
-
~State()
Destructs this state, freeing the associated memory.
-
std::size_t getId() const
Returns the state’s unique id.
-
bool hasForwardVertex() const
Returns whether the state has an associated forward vertex.
-
bool hasReverseVertex() const
Returns whether the state has an associated reverse vertex.
Blacklists the given state as neighbor.
Whitelists the given state as neighbor.
Returns whether the given state has been blacklisted.
Returns whether the given has been whitelisted.
-
void setEstimatedEffortToGo(std::size_t effort)
Set the estimated effort (number of collision detections) to go from this state to the goal through the current RGG.
-
void setEstimatedCostToGo(ompl::base::Cost cost)
Set the best estimate of the cost to go from this state to the goal through the current RGG.
-
void setAdmissibleCostToGo(ompl::base::Cost cost)
Set the admissible estimate of the cost to go from this state to the goal through the current RGG.
-
void setLowerBoundCostToGo(ompl::base::Cost cost)
Set the lower bound cost to go from this state to the goal through the continuous state space.
-
void setLowerBoundCostToCome(ompl::base::Cost cost)
Set the lower bound cost to come from the start to this state through the continuous state space.
-
void setCurrentCostToCome(ompl::base::Cost cost)
Set the current cost to come from the start to this state.
-
void setLowerBoundEffortToCome(unsigned int effort)
Sets the lower bound effort to come to this state through the continuous state space.
-
void setInadmissibleEffortToCome(unsigned int effort)
Sets the inadmissible effort to come to this state through the continuous state space.
-
unsigned int getEstimatedEffortToGo() const
Get the estimated effort (number of collision detections) to go from this state to the goal through the current RGG.
-
ompl::base::Cost getEstimatedCostToGo() const
Returns the best estimate of the cost to go from this state to the goal through the current RGG.
-
ompl::base::Cost getAdmissibleCostToGo() const
Returns the admissible estimate of the cost to go from this state to the goal through the current RGG.
-
ompl::base::Cost getLowerBoundCostToGo() const
Returns the lower bound cost to go from this state to the goal through the continuous state space.
-
ompl::base::Cost getLowerBoundCostToCome() const
Returns the lower bound cost to come from the start to this state through the continuous state space.
-
ompl::base::Cost getCurrentCostToCome() const
Returns the current cost to come from the start to this state.
-
unsigned int getLowerBoundEffortToCome() const
Returns the lower bound effort to come from the start to this state through the continuous state space.
-
unsigned int getInadmissibleEffortToCome() const
Returns the inadmissible effort to come from the start to this state through the continuous state space.
-
const std::vector<std::weak_ptr<State>> getSourcesOfIncomingEdgesInForwardQueue() const
Returns the sources of incoming edges in forward queue.
Adds a source to sources of incoming edges in forward queue.
Removes a source from sources of incoming edges in forward queue.
-
void resetSourcesOfIncomingEdgesInForwardQueue()
Resets the sources of incoming edges in the forward queue.
Sets the number of collision checks already performed on the edge incoming from source.
Returns the number of collision checks already performed on the edge incoming from source.