#include <complement.h>
Inheritance diagram for complementarySubgraph:
Public Member Functions | |
unsigned long | Size () const throw () |
unsigned long | Allocated () const throw () |
const abstractMixedGraph * | SourceGraph () const throw () |
const abstractSubgraph * | ComplementarySubgraph () const throw () |
bool | HasNode (TNode node) const throw (ERRange) |
void | AddArc (TArc a) throw (ERRejected) |
TArc | AddArc (TNode u, TNode v) throw (ERRange,ERRejected) |
void | AddNode (TNode u) throw (ERRange,ERRejected) |
void | OmitArc (TArc a) throw (ERRange,ERRejected) |
void | OmitArc (TNode u, TNode v) throw (ERRange,ERRejected) |
void | OmitNode (TNode u) throw (ERRange,ERRejected) |
void | OmitIsolatedNodes () throw () |
TArc | Adjacency (TNode from, TNode to) throw (ERRange) |
TNode | N () const throw () |
TArc | M () const throw () |
TNode | StartNode (TArc) const throw (ERRange) |
TNode | EndNode (TArc) const throw (ERRange) |
bool | HasArc (TArc) const throw (ERRange) |
TArc | First (TNode) const throw (ERRange,ERRejected) |
TArc | Right (TArc, TNode) const throw (ERRange,ERRejected) |
Protected Member Functions | |
complementarySubgraph (const subgraph *G) throw () | |
virtual | ~complementarySubgraph () throw () |
Dieses Klasse soll nicht direkt instanziiert werden. Sie wird von einem subgraph-Objekt verwendet, um den Graphen: Ursprungsgraph subgraph::getSourceGraph ohne Knoten des eigenen Graphen darzustellen. Dazu wird es der Klasse complementarySubgraph erlaubt, vollständig auf das zugehörige subgraph-Objekt (d.h. auch auf private Member) zu zugreifen.
Knoten- und Kantenmanipulation nicht möglich!!
|
|
|
|
|
Implements abstractSubgraph. |
|
adds an arc (from sourcegraph) to the subgraph. If one of the nodes StartNode(a) or EndNode(a) isn't on the subgraph, it will be automatical be added.
Implements abstractSubgraph. |
|
Implements abstractSubgraph. |
|
|
|
Reimplemented from abstractSubgraph. |
|
returns a reference to a graph: SourceGraph without this graph The returned reference doesn't have to be deleted! Deletion will be made automatical. If SourceGraph G:= (V,E) and subgraph H:= (V1,E1) and V1 is part of V and E1 is part of E, then the returned graph I:= (V2,E2) is defined as follows:
=> the "WithoutGraph" of I is the original graph H. Implements abstractSubgraph. |
|
Implements abstractSubgraph. |
|
|
|
Implements abstractSubgraph. |
|
tests, if node is on this subgraph
Implements abstractSubgraph. |
|
returns the number of edges
Implements abstractSubgraph. |
|
returns the number of vertices
Implements abstractSubgraph. |
|
Implements abstractSubgraph. |
|
deletes an arc from the subgraph. The nodes StartNode(a) and EndNode(a) will remain on the subgraph.
Implements abstractSubgraph. |
|
Implements abstractSubgraph. |
|
Implements abstractSubgraph. |
|
|
|
Implements goblinRootObject. |
|
getSourceGraph returns a reference to the original graph. The returned reference doesn't have to be deleted! Deletion will be made automatically. Implements abstractSubgraph. |
|
Implements abstractSubgraph. |