ompl::base::PlannerDataVertexAnnotated Class Reference

An annotated vertex, adding information about its level in the quotient-space hiearchy, the maxlevel of quotientspaces and the component it belongs to. More...

#include <ompl/geometric/planners/quotientspace/datastructures/PlannerDataVertexAnnotated.h>

Inheritance diagram for ompl::base::PlannerDataVertexAnnotated:

Public Member Functions

 PlannerDataVertexAnnotated (const ompl::base::State *st, int tag=0)
 
 PlannerDataVertexAnnotated (const PlannerDataVertexAnnotated &rhs)
 
virtual PlannerDataVertexclone () const override
 Return a clone of this object, allocated from the heap.
 
void setLevel (unsigned int level_)
 
unsigned int getLevel () const
 
void setMaxLevel (unsigned int level_)
 
unsigned int getMaxLevel () const
 
void setPath (std::vector< int > path_)
 
std::vector< int > getPath () const
 
void setComponent (unsigned int component_)
 
unsigned int getComponent () const
 
void setState (ompl::base::State *s)
 
void setQuotientState (const ompl::base::State *s)
 
virtual const ompl::base::StategetState () const override
 Retrieve the state associated with this vertex.
 
virtual const ompl::base::StategetQuotientState () const
 
- Public Member Functions inherited from ompl::base::PlannerDataVertex
 PlannerDataVertex (const State *st, int tag=0)
 Constructor. Takes a state pointer and an optional integer tag.
 
 PlannerDataVertex (const PlannerDataVertex &rhs)=default
 Copy constructor.
 
virtual int getTag () const
 Returns the integer tag associated with this vertex.
 
virtual void setTag (int tag)
 Set the integer tag associated with this vertex.
 
virtual bool operator== (const PlannerDataVertex &rhs) const
 Equivalence operator. Return true if the state pointers are equal.
 
bool operator!= (const PlannerDataVertex &rhs) const
 Returns true if this vertex is not equal to the argument. This is the complement of the == operator.
 

Protected Attributes

unsigned int level_ {0}
 
unsigned int maxLevel_ {1}
 
std::vector< int > path_
 
unsigned int component_ {0}
 
const ompl::base::StatestateQuotientSpace_ {nullptr}
 
- Protected Attributes inherited from ompl::base::PlannerDataVertex
const Statestate_
 The state represented by this vertex.
 
int tag_
 A generic integer tag for this state. Not used for equivalence checking.
 

Friends

bool operator== (const PlannerDataVertexAnnotated &lhs, const PlannerDataVertexAnnotated &rhs)
 
std::ostream & operator<< (std::ostream &, const PlannerDataVertexAnnotated &)
 

Additional Inherited Members

- Protected Member Functions inherited from ompl::base::PlannerDataVertex
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Detailed Description

An annotated vertex, adding information about its level in the quotient-space hiearchy, the maxlevel of quotientspaces and the component it belongs to.

Definition at line 117 of file PlannerDataVertexAnnotated.h.


The documentation for this class was generated from the following files: