Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MSLVertex Class Reference

#include <graph.h>

List of all members.

Public Methods

MSLVector State () const
 The state to which this node corresponds.

list<MSLEdge*> const Edges ()
 Return all of the incident edges.

double Cost () const
 A cost value, useful in some algorithms.

void SetCost (const double &x)
 A cost value, useful in some algorithms.

void SetID (const int &i)
 Change the vertex ID.

int ID () const
 Get the vertex ID.

void Mark ()
 A cost value, useful in some algorithms.

void Unmark ()
 A cost value, useful in some algorithms.

bool IsMarked ()
 A cost value, useful in some algorithms.

 MSLVertex ()
 MSLVertex (const MSLVector &x)
 ~MSLVertex ()

Friends

class  MSLEdge
class  MSLGraph
istream& operator>> (istream &is, MSLVertex &n)
ostream& operator<< (ostream &os, const MSLVertex &n)
istream& operator>> (istream &is, list< MSLVertex *> &nl)
ostream& operator<< (ostream &os, const list< MSLVertex *> &nl)


Constructor & Destructor Documentation

MSLVertex::MSLVertex ( )
 

MSLVertex::MSLVertex ( const MSLVector & x )
 

MSLVertex::~MSLVertex ( )
 


Member Function Documentation

double MSLVertex::Cost ( ) const [inline]
 

A cost value, useful in some algorithms.

list< MSLEdge *> const MSLVertex::Edges ( ) [inline]
 

Return all of the incident edges.

int MSLVertex::ID ( ) const [inline]
 

Get the vertex ID.

bool MSLVertex::IsMarked ( ) [inline]
 

A cost value, useful in some algorithms.

void MSLVertex::Mark ( ) [inline]
 

A cost value, useful in some algorithms.

void MSLVertex::SetCost ( const double & x ) [inline]
 

A cost value, useful in some algorithms.

void MSLVertex::SetID ( const int & i ) [inline]
 

Change the vertex ID.

MSLVector MSLVertex::State ( ) const [inline]
 

The state to which this node corresponds.

void MSLVertex::Unmark ( ) [inline]
 

A cost value, useful in some algorithms.


Friends And Related Function Documentation

friend class MSLEdge [friend]
 

friend class MSLGraph [friend]
 

ostream& operator<< ( ostream & out,
const list< MSLVertex *> & L ) [friend]
 

ostream& operator<< ( ostream & out,
const MSLVertex & n ) [friend]
 

istream& operator>> ( istream & in,
list< MSLVertex *> & L ) [friend]
 

istream & operator>> ( istream & is,
MSLVertex & n ) [friend]
 


The documentation for this class was generated from the following file: Motion Strategy Library


Web page maintained by Steve LaValle
Partial support provided by NSF CAREER Award IRI-970228 (LaValle), Honda Research.
Contributors: Anna Atramentov, Peng Cheng, James Kuffner, Steve LaValle, and Libo Yang.