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