State.cpp
150 }
168 {
173 {
178 {
183 {
188 {
193 {
252 void State::addToSourcesOfIncomingEdgesInForwardQueue(const std::shared_ptr<State> &state) const
257 void State::removeFromSourcesOfIncomingEdgesInForwardQueue(const std::shared_ptr<State> &state) const
268 {
284 std::size_t State::getIncomingCollisionCheckResolution(const std::shared_ptr<State> &source) const
286 if (incomingCollisionCheckResolution_.find(source->getId()) == incomingCollisionCheckResolution_.end())
293 }
void whitelist(const std::shared_ptr< State > &state)
Whitelists the given state as neighbor.
Definition: State.cpp:248
void setLowerBoundEffortToCome(unsigned int effort)
Sets the lower bound effort to come to this state through the continuous state space.
Definition: State.cpp:293
void blacklist(const std::shared_ptr< State > &state)
Blacklists the given state as neighbor.
Definition: State.cpp:243
ompl::base::Cost getEstimatedCostToGo() const
Returns the best estimate of the cost to go from this state to the goal through the current RGG.
Definition: State.cpp:308
State(const std::shared_ptr< ompl::base::SpaceInformation > &spaceInfo, const std::shared_ptr< ompl::base::OptimizationObjective > &objective)
Constructs the state, allocating the associated memory using information about the underlying space.
Definition: State.cpp:150
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.
Definition: State.cpp:273
Definition of a cost value. Can represent the cost of a motion or the cost of a state.
Definition: Cost.h:111
void setInadmissibleEffortToCome(unsigned int effort)
Sets the inadmissible effort to come to this state through the continuous state space.
Definition: State.cpp:298
ompl::base::Cost getLowerBoundCostToGo() const
Returns the lower bound cost to go from this state to the goal through the continuous state space.
Definition: State.cpp:318
void setIncomingCollisionCheckResolution(const std::shared_ptr< State > &source, std::size_t numChecks) const
Sets the number of collision checks already performed on the edge incoming from source.
Definition: State.cpp:374
unsigned int getInadmissibleEffortToCome() const
Returns the inadmissible effort to come from the start to this state through the continuous state spa...
Definition: State.cpp:338
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.
Definition: State.cpp:268
bool hasForwardVertex() const
Returns whether the state has an associated forward vertex.
Definition: State.cpp:183
unsigned int getEstimatedEffortToGo() const
Get the estimated effort (number of collision detections) to go from this state to the goal through t...
Definition: State.cpp:303
std::size_t getIncomingCollisionCheckResolution(const std::shared_ptr< State > &source) const
Returns the number of collision checks already performed on the edge incoming from source.
Definition: State.cpp:380
void setEstimatedEffortToGo(std::size_t effort)
Set the estimated effort (number of collision detections) to go from this state to the goal through t...
Definition: State.cpp:263
std::shared_ptr< Vertex > asForwardVertex()
Returns the state as a reverse vertex.
Definition: State.cpp:193
void resetSourcesOfIncomingEdgesInForwardQueue()
Resets the sources of incoming edges in the forward queue.
Definition: State.cpp:369
void setCurrentCostToCome(ompl::base::Cost cost)
Set the current cost to come from the start to this state.
Definition: State.cpp:288
void setLowerBoundCostToCome(ompl::base::Cost cost)
Set the lower bound cost to come from the start to this state through the continuous state space.
Definition: State.cpp:283
bool isWhitelisted(const std::shared_ptr< State > &state) const
Returns whether the given has been whitelisted.
Definition: State.cpp:258
const std::vector< std::weak_ptr< State > > getSourcesOfIncomingEdgesInForwardQueue() const
Returns the sources of incoming edges in forward queue.
Definition: State.cpp:343
unsigned int getLowerBoundEffortToCome() const
Returns the lower bound effort to come from the start to this state through the continuous state spac...
Definition: State.cpp:333
ompl::base::Cost getLowerBoundCostToCome() const
Returns the lower bound cost to come from the start to this state through the continuous state space.
Definition: State.cpp:323
bool isBlacklisted(const std::shared_ptr< State > &state) const
Returns whether the given state has been blacklisted.
Definition: State.cpp:253
std::shared_ptr< Vertex > asReverseVertex()
Returns the state as a reverse vertex.
Definition: State.cpp:218
void addToSourcesOfIncomingEdgesInForwardQueue(const std::shared_ptr< State > &state) const
Adds a source to sources of incoming edges in forward queue.
Definition: State.cpp:348
bool hasReverseVertex() const
Returns whether the state has an associated reverse vertex.
Definition: State.cpp:188
void setLowerBoundCostToGo(ompl::base::Cost cost)
Set the lower bound cost to go from this state to the goal through the continuous state space.
Definition: State.cpp:278
void removeFromSourcesOfIncomingEdgesInForwardQueue(const std::shared_ptr< State > &state) const
Removes a source from sources of incoming edges in forward queue.
Definition: State.cpp:353
ompl::base::Cost getAdmissibleCostToGo() const
Returns the admissible estimate of the cost to go from this state to the goal through the current RGG...
Definition: State.cpp:313
ompl::base::Cost getCurrentCostToCome() const
Returns the current cost to come from the start to this state.
Definition: State.cpp:328