/Users/sean/workspace/SLIMpy3/slimpy_base/Core/Graph/Cleaner.py File Reference

Go to the source code of this file.

Namespaces

namespace  slimpy_base.Core.Graph.Cleaner

Classes

class  cleaner
 cleaner cleans the graph of obsolete data, cleaner does not necessarily have to remove dead branches from the graph but the data that the nodes point to. More...

Functions

def __init__
 cleaner instance takes a graph and a depth
def clean
 usage: Call clean on a node after the node is finished adds the dependencies of node to the list of sources by calling add source.
def addSource
 Add a source node to the cleaner.
def remove
 removes node only if the reference count of node is 1
def get_cleaned_nodes
def all
 returns true if all values in iterable evaluate to True

Variables

string __copyright__
string __license__
tuple env = InstanceManager()
 graph
 depth
 __source
 _stored
 _cleaned


Generated on Sun Aug 10 09:11:07 2008 for SLIMpy by  doxygen 1.5.6