= 0 lack definitions, which
are generally provided by class MHyperGraph (see Section | Graph* | newGraph() raph* g) = 0; |
| Graph* | copyGraph (Graph* g) = 0; |
| Graph* | newEmpty() const; |
| ASymMatrix<int> | adjacencyMatrix (); |
| Bool isomorphicQ(const Graph* graph ); | |
| Bool isomorphicQ(const Graph& graph ); |
| Bool | binaryQ (); |
| Bool | simpleQ (); |
| Bool | directedQ (); |
| Vertex* | addVertex (String vname) |
| Edge* | addEdge (Sequence<Vertex*> vs) = 0; |
| Edge* | addEdge (Collection<Vertex*>& vs) = 0; |
| Edge* | addEdge (Edge *e) = 0; |
| void | removeVertex (Vertex *v) |
| void | removeEdge (Edge *v) |
| void | deleteVertex (Vertex *v) = 0; |
| void | deleteEdge (Edge *e) = 0; |
| void | clear () |
| int | rank (Vertex* passed_vertex) |
| int | rank (Edge* passed_edge) |
? O(1)
| Vertex* | vertex (int i) |
| Vertex* | randomVertex () |
| Edge* | edge (int i) |
| friend ostream& | operator<< (ostream& os, const Graph& g) |
| ostream& | display (ostream& os) |
| void | display (int indent) |
| void saveToFile(ofstream* fout) = 0; | |
| void saveToFile(ofstream* fout, int indent) = 0; |
| Vertex* | findVertexByName (String name) |
| Vertex* | findVertexWithEdge (String name) |
| GraphType | type () |
| GraphType | name () |
| Bool | adjacentQ (Vertex* v1, Vertex* v2) |
| Vertex** | vertexStart () |
| const SortedArray<Vertex*>& | vertices() |
| const MSet<Edge*>& | edges () |
| MSet<Edge*> | incidentEdges (Vertex* v) const |
| MSet<Edge*> | inIncidentEdges (Vertex* v) const |
| MSet<Edge*> | outIncidentEdges (Vertex* v) const |
| int | order () |
| int | size () |
| int | degree (Vertex* passed_vertex) |
| int | inDegree() ertex* passed_vertex) |
| int | outDegree (Vertex* passed_vertex) |
| int | maxDegree () const |
| int | minDegree () const |
| Sequence<Edge*> | pathEdges (Sequence<Vertex*>) |
| Sequence<Vertex*> | pathVertices (Sequence<Edge*>) |
| Sequence<Edge*> | treePath() ertex* descendent, Vertex* ancestor) |
| Vertex* | addSubgraph (Graph *owner, List<Vertex*>* l) = 0; |
| Set<Vertex*> | dissolveSubgraph (Vertex *sv) = 0; |