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

MSLNode Class Reference

#include <tree.h>

List of all members.

Public Methods

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

MSLVector Input () const
 The input vector that leads to this state from the parent.

MSLNode* Parent ()
list<MSLNode*> const Children ()
double Time () const
 The time required to reach this node from the parent.

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 node ID.

int ID () const
 Get the node ID.

 MSLNode ()
 MSLNode (MSLNode *pn, const MSLVector &x, const MSLVector &u)
 MSLNode (MSLNode *pn, const MSLVector &x, const MSLVector &u, double t)
 ~MSLNode ()
void AddChild (MSLNode *cn)

Friends

class  MSLTree
ostream& operator<< (ostream &os, const MSLNode &n)
ostream& operator<< (ostream &os, const list< MSLNode *> &nl)


Constructor & Destructor Documentation

MSLNode::MSLNode ( )
 

MSLNode::MSLNode ( MSLNode * pn,
const MSLVector & x,
const MSLVector & u )
 

MSLNode::MSLNode ( MSLNode * pn,
const MSLVector & x,
const MSLVector & u,
double t )
 

MSLNode::~MSLNode ( ) [inline]
 


Member Function Documentation

void MSLNode::AddChild ( MSLNode * cn ) [inline]
 

list< MSLNode *> const MSLNode::Children<MSLNode*> ( ) [inline]
 

double MSLNode::Cost ( ) const [inline]
 

A cost value, useful in some algorithms.

int MSLNode::ID ( ) const [inline]
 

Get the node ID.

MSLVector MSLNode::Input ( ) const [inline]
 

The input vector that leads to this state from the parent.

MSLNode * MSLNode::Parent ( ) [inline]
 

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

A cost value, useful in some algorithms.

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

Change the node ID.

MSLVector MSLNode::State ( ) const [inline]
 

The state to which this node corresponds.

double MSLNode::Time ( ) const [inline]
 

The time required to reach this node from the parent.


Friends And Related Function Documentation

friend class MSLTree [friend]
 

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

ostream& operator<< ( ostream & out,
const MSLNode & 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.