Base class for a vertex in the PlannerData structure. All derived classes must implement the clone and equivalence operators. It is assumed that each vertex in the PlannerData structure is unique (i.e. no duplicates allowed).
More...
#include <ompl/base/PlannerData.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int) |
|
|
const State * | state_ |
| The state represented by this vertex. More...
|
|
int | tag_ |
| A generic integer tag for this state. Not used for equivalence checking. More...
|
|
Base class for a vertex in the PlannerData structure. All derived classes must implement the clone and equivalence operators. It is assumed that each vertex in the PlannerData structure is unique (i.e. no duplicates allowed).
Definition at line 58 of file PlannerData.h.
◆ PlannerDataVertex()
ompl::base::PlannerDataVertex::PlannerDataVertex |
( |
const State * |
st, |
|
|
int |
tag = 0 |
|
) |
| |
|
inline |
Constructor. Takes a state pointer and an optional integer tag.
Definition at line 62 of file PlannerData.h.
◆ clone()
◆ getState()
virtual const State * ompl::base::PlannerDataVertex::getState |
( |
| ) |
const |
|
inlinevirtual |
◆ getTag()
virtual int ompl::base::PlannerDataVertex::getTag |
( |
| ) |
const |
|
inlinevirtual |
Returns the integer tag associated with this vertex.
Definition at line 70 of file PlannerData.h.
◆ operator!=()
bool ompl::base::PlannerDataVertex::operator!= |
( |
const PlannerDataVertex & |
rhs | ) |
const |
|
inline |
Returns true if this vertex is not equal to the argument. This is the complement of the == operator.
Definition at line 100 of file PlannerData.h.
◆ operator==()
virtual bool ompl::base::PlannerDataVertex::operator== |
( |
const PlannerDataVertex & |
rhs | ) |
const |
|
inlinevirtual |
Equivalence operator. Return true if the state pointers are equal.
Definition at line 92 of file PlannerData.h.
◆ serialize()
template<class Archive >
void ompl::base::PlannerDataVertex::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
|
|
) |
| |
|
inlineprotected |
◆ setTag()
virtual void ompl::base::PlannerDataVertex::setTag |
( |
int |
tag | ) |
|
|
inlinevirtual |
Set the integer tag associated with this vertex.
Definition at line 75 of file PlannerData.h.
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ PlannerData
◆ PlannerDataStorage
◆ state_
const State* ompl::base::PlannerDataVertex::state_ |
|
protected |
The state represented by this vertex.
Definition at line 117 of file PlannerData.h.
◆ tag_
int ompl::base::PlannerDataVertex::tag_ |
|
protected |
A generic integer tag for this state. Not used for equivalence checking.
Definition at line 119 of file PlannerData.h.
The documentation for this class was generated from the following file: