API documentation :: Docs For Class arbitTopoLogicalSorting
Packages:Classes: |
Scripts::arbitTopoLogicalSortingClass arbitTopoLogicalSortingCycleDetection CycleDetection
Member Variables
Method Summary
Methods__construct
void
__construct(
)
Constrct CycleDetection graph Constrct CycleDetection graph addConnection
void
addConnection(
string
$src
, string
$dst
)
Add directed connection to the graph Add a connection from node $src to node $dst to the graph. Add directed connection to the graph Add a connection from node $src to node $dst to the graph. Parameters:
addNode
void
addNode(
string
$className
,
$info
)
Add node to the graph Add node to the graph Parameters:
getSortedNodeList
void
getSortedNodeList(
)
Remove cycles from the graph This method uses an algorithm similar to the toplogical sort algorithm to remove all cycles from the graph. are not in cycles, but leave nodes, which are linked from cycles will stay in the graph. Remove cycles from the graph This method uses an algorithm similar to the toplogical sort algorithm to remove all cycles from the graph. It will not remove all node, which are not in cycles, but leave nodes, which are linked from cycles will stay in the graph. renderGraph
void
renderGraph(
string
$file
)
Render a graph Renders the graph using dot (http://graphviz. file. Render a graph Renders the graph using dot (http://graphviz.org) into the specified PNG file. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:01:57 +0200 by phpDocumentor 1.4.3
|