![]() |
Quantum Fog
0.9.3
|
Public Member Functions | |
def | __init__ (self, nodes) |
def | topological_sort (self) |
def | undirect (self) |
def | add_node (self, node) |
![]() | |
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 | |
numNodes | |
nodes | |
![]() | |
nodes | |
Child of Graph class. It is very similar to Graph class with the addition of a couple of methods aimed at a graph of nodes that are directed. Currently this class does not ensure that it is acyclic, but it is assumed that the user will not violate this principle.