Quantum Fog  0.9.3
Public Member Functions | Public Attributes | List of all members
PBNT.Graph.Graph Class Reference
Inheritance diagram for PBNT.Graph.Graph:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, nodes)
 
def add_node (self, node)
 
def member_of (self, node)
 
def contains (self, nodes)
 
def connect_nodes (self, node1, node2)
 

Public Attributes

 nodes
 

Detailed Description

Graph is the parent of all other graph classes.  It defines a very basic undirected graph class.  It essentially is just a list of nodes, and it is the nodes that maintain their own lists of parents and children.

The documentation for this class was generated from the following file: