mixedGraph Class Reference

A class for mixed graphs represented with incidence lists. More...

#include <mixedGraph.h>

Inheritance diagram for mixedGraph:

abstractMixedGraph managedObject goblinRootObject colourContraction explicitSubdivision explicitSurfaceGraph inducedSubgraph lineGraph

Public Member Functions

 mixedGraph (TNode _n=0, goblinController &_CT=goblinDefaultContext) throw ()
 mixedGraph (const char *fileName, goblinController &_CT=goblinDefaultContext) throw (ERFile,ERParse)
 mixedGraph (abstractMixedGraph &G, TOption options=0) throw ()
 ~mixedGraph () throw ()
unsigned long Size () const throw ()
unsigned long Allocated () const throw ()

Protected Attributes

sparseRepresentation X

Detailed Description

A class for mixed graphs represented with incidence lists.


Constructor & Destructor Documentation

mixedGraph TNode  _n = 0,
goblinController _CT = goblinDefaultContext
throw ()
 

Default constructor for mixed graphs.

Parameters:
_n The initial number of nodes
_CT The context to which this graph object is attached

mixedGraph const char *  fileName,
goblinController _CT = goblinDefaultContext
throw (ERFile,ERParse)
 

File constructor for mixed graphs.

Parameters:
fileName The source file name
_CT The context to which this graph object is attached

mixedGraph abstractMixedGraph G,
TOption  options = 0
throw ()
 

Copy constructor for sparse undirected graphs.

Parameters:
G The original mixed graph object
options A combination of OPT_MAPPINGS and OPT_SUB

~mixedGraph  )  throw ()
 


Member Function Documentation

unsigned long Allocated  )  const throw ()
 

Reimplemented from abstractMixedGraph.

unsigned long Size  )  const throw () [virtual]
 

Implements goblinRootObject.


Field Documentation

sparseRepresentation X [protected]