#include <denseDigraph.h>
Inheritance diagram for denseDiGraph:
Public Member Functions | |
denseDiGraph (TNode _n, TOption options=0, goblinController &_CT=goblinDefaultContext) throw () | |
denseDiGraph (const char *fileName, goblinController &_CT=goblinDefaultContext) throw (ERFile,ERParse) | |
denseDiGraph (abstractDiGraph &G) throw () | |
~denseDiGraph () throw () | |
void | ReadNNodes (goblinImport &F) throw (ERParse) |
unsigned long | Size () const throw () |
unsigned long | Allocated () const throw () |
TArc | Adjacency (TNode u, TNode v, TMethAdjacency method=ADJ_MATRIX) const throw (ERRange) |
TNode | StartNode (TArc a) const throw (ERRange) |
TNode | EndNode (TArc a) const throw (ERRange) |
TArc | First (TNode v) const throw (ERRange) |
TArc | Right (TArc a, TNode v=NoNode) const throw (ERRange) |
Protected Member Functions | |
TFloat | TSP_Heuristic (THeurTSP method, TNode root) throw (ERRange,ERRejected) |
Protected Attributes | |
denseRepresentation | X |
|
Default constructor for dense digraphs.
|
|
File constructor for dense digraphs.
|
|
Copy constructor for dense digraphs.
|
|
|
|
|
|
Reimplemented from abstractDiGraph. |
|
Query the end node of a given arc.
Reimplemented from abstractMixedGraph. |
|
Retrieve an arc with a given start node. The First(v) incidence is somewhat arbitrary, since icidence lists are cyclic. But when an arc is inserted, it is inserted into the incidence lists right after the First() incidence. If the graph is planely represented, and v is an exterior node, the first two incidences are usually exterior arcs, and inserting an arc with two exterior end nodes preserves the planar representation.
Implements abstractMixedGraph. |
|
Read the number of nodes from file.
Reimplemented from abstractMixedGraph. |
|
Query the successor of a given arc in the incidence list of its start node.
Implements abstractMixedGraph. |
|
Implements goblinRootObject. |
|
Query the start node of a given arc.
Implements abstractMixedGraph. |
|
|