#include <graph.h>
Public Methods | |
MSLGraph () | |
~MSLGraph () | |
MSLVertex* | AddVertex (const MSLVector &x) |
MSLEdge* | AddEdge (MSLVertex *v1, MSLVertex *v2) |
MSLEdge* | AddEdge (MSLVertex *v1, MSLVertex *v2, double time) |
MSLEdge* | AddEdge (MSLVertex *v1, MSLVertex *v2, const MSLVector &u, double time) |
bool | IsEdge (MSLVertex *v1, MSLVertex *v2) |
MSLVertex* | FindVertex (int nid) |
list<MSLVertex*> const | Vertices () |
list<MSLEdge*> const | Edges () |
int | Size () |
int | NumVertices () |
int | NumEdges () |
void | Clear () |
Friends | |
istream& | operator>> (istream &is, MSLGraph &n) |
ostream& | operator<< (ostream &os, const MSLGraph &n) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|