Package graphadt :: Module graphtypes :: Class DirectedAdjListsGraph
[hide private]
[frames] | no frames]

Class DirectedAdjListsGraph

source code

object --+        
         |        
     Graph --+    
             |    
 DirectedGraph --+
                 |
                DirectedAdjListsGraph
Known Subclasses:

Convenience class which constructs a directed graph and sets the inner representation to an AdjacencyListsRepresentation.

Nested Classes [hide private]

Inherited from Graph: __metaclass__

Instance Methods [hide private]
 
__init__(self)
Constructs an instance of this graph, and sets the hidden representation to the parameter.
source code

Inherited from DirectedGraph: addArc, defaultConnector, inDegree, isArc, removeArc, size

Inherited from Graph: __repr__, addEdge, addVertices, degree, isEdge, neighbors, neighbours, order, removeEdge, removeVertex

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from Graph: copy, read

Class Variables [hide private]

Inherited from DirectedGraph: __abstractmethods__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Constructs an instance of this graph, and sets the hidden representation to the parameter.

Parameters:
  • representation - the state of the graph to be copied
Overrides: object.__init__
(inherited documentation)