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