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) |