Main Page   Namespace List   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. More...

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

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

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

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

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

int ID () const
 Get the node ID. More...

void * GetInfo ()
 Get the information. More...

void SetInfo (void *in)
 Set the information. More...

 MSLNode ()
 Clear the memory for the information. More...

 MSLNode (void *pninfo)
 MSLNode (MSLNode *pn, const MSLVector &x, const MSLVector &u)
 MSLNode (MSLNode *pn, const MSLVector &x, const MSLVector &u, double t)
 MSLNode (MSLNode *pn, const MSLVector &x, const MSLVector &u, double t, void *pninfo)
 ~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  
 

Clear the memory for the information.

MSLNode::MSLNode void *    pninfo
 

MSLNode::MSLNode MSLNode *    pn,
const MSLVector   x,
const MSLVector   u
 

MSLNode::MSLNode MSLNode *    pn,
const MSLVector   x,
const MSLVector   u,
double    t
 

MSLNode::MSLNode MSLNode *    pn,
const MSLVector   x,
const MSLVector   u,
double    t,
void *    pninfo
 

MSLNode::~MSLNode   [inline]
 


Member Function Documentation

void MSLNode::AddChild MSLNode *    cn [inline]
 

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

double MSLNode::Cost   const [inline]
 

A cost value, useful in some algorithms.

void* MSLNode::GetInfo   [inline]
 

Get the information.

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.

void MSLNode::SetInfo void *    in [inline]
 

Set the information.

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 &    os,
const list< MSLNode * > &    nl
[friend]
 

ostream& operator<< ostream &    os,
const MSLNode &    n
[friend]
 


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


Web page maintained by Steve LaValle