#include <subgraph.h>
Inheritance diagram for subgraph:
Public Member Functions | |
subgraph (const subgraph *G) throw () | |
subgraph (abstractMixedGraph *G) throw () | |
virtual | ~subgraph () throw () |
unsigned long | Size () const throw () |
unsigned long | Allocated () const throw () |
virtual const abstractMixedGraph * | SourceGraph () const throw () |
virtual const abstractSubgraph * | ComplementarySubgraph () const throw () |
virtual bool | HasNode (TNode node) const throw (ERRange) |
virtual void | AddArc (TArc a) throw (ERRange,ERRejected) |
virtual TArc | AddArc (TNode u, TNode v) throw (ERRange,ERRejected) |
virtual void | AddNode (TNode u) throw (ERRange,ERRejected) |
virtual void | OmitArc (TArc a) throw (ERRange,ERRejected) |
virtual void | OmitArc (TNode u, TNode v) throw (ERRange,ERRejected) |
virtual void | OmitNode (TNode u) throw (ERRange,ERRejected) |
virtual void | OmitIsolatedNodes () throw () |
virtual TArc | Adjacency (TNode from, TNode to) throw (ERRange) |
virtual TNode | N () const throw () |
virtual TArc | M () const throw () |
virtual TNode | StartNode (TArc) const throw (ERRange) |
virtual TNode | EndNode (TArc) const throw (ERRange) |
virtual bool | HasArc (TArc) const throw (ERRange) |
virtual TArc | First (TNode) const throw (ERRange,ERRejected) |
virtual TArc | Right (TArc, TNode) const throw (ERRange,ERRejected) |
|
|
|
|
|
|
|
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. |