ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, G, roots=[]) |
def | pre (self) |
def | post (self) |
def | reversePost (self) |
def | dfs_ (self, G, v) |
Public Attributes | |
marked | |
pre_ | |
post_ | |
reversePost_ | |
Carry out a depth first traversal of a graph, noting the order nodes are processed.
Definition at line 45 of file graphAlgs.py.
def graphAlgs.DepthFirstOrder.__init__ | ( | self, | |
G, | |||
roots = [] |
|||
) |
Definition at line 49 of file graphAlgs.py.
def graphAlgs.DepthFirstOrder.dfs_ | ( | self, | |
G, | |||
v | |||
) |
Definition at line 71 of file graphAlgs.py.
def graphAlgs.DepthFirstOrder.post | ( | self | ) |
Definition at line 68 of file graphAlgs.py.
def graphAlgs.DepthFirstOrder.pre | ( | self | ) |
Definition at line 67 of file graphAlgs.py.
def graphAlgs.DepthFirstOrder.reversePost | ( | self | ) |
Definition at line 69 of file graphAlgs.py.
graphAlgs.DepthFirstOrder.marked |
Definition at line 50 of file graphAlgs.py.
graphAlgs.DepthFirstOrder.post_ |
Definition at line 52 of file graphAlgs.py.
graphAlgs.DepthFirstOrder.pre_ |
Definition at line 51 of file graphAlgs.py.
graphAlgs.DepthFirstOrder.reversePost_ |
Definition at line 53 of file graphAlgs.py.