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

Class UndirectedAdjMatrixGraph

source code

 object --+        
          |        
      Graph --+    
              |    
UndirectedGraph --+
                  |
                 UndirectedAdjMatrixGraph

Convenience class which constructs an undirected graph and sets the inner representation to an AdjacencyMatrixRepresentation.

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 UndirectedGraph: defaultConnector, inDegree, 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 UndirectedGraph: __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)