Index: TECH/Algo/Graph/DependencyGraph.cls.xml
===================================================================
diff -u
--- TECH/Algo/Graph/DependencyGraph.cls.xml (revision 0)
+++ TECH/Algo/Graph/DependencyGraph.cls.xml (revision 1297)
@@ -0,0 +1,143 @@
+
+
+
+TECH.Error
+1
+%RegisteredObject
+0
+
+
+TECH.Algo.Graph.Node
+array
+1
+
+
+
+1
+1
+%Status
+
+
+
+
+Node:TECH.Algo.Graph.Node
+
+
+
+
+DependentNode:TECH.Algo.Graph.Node,Node:TECH.Algo.Graph.Node
+
+
+
+
+DependentName:%String,Name:%String
+
+
+
+
+%ListOfObjects
+ 0)
+ {
+ Do ..VisitTopologicalSort(Queue.GetAt(1),.Visited,.DependencyQueue)
+ Do Queue.RemoveAt(1)
+ }
+
+ Quit DependencyQueue
+]]>
+
+
+
+
+
+
+
+
+%ListOfObjects
+
+
+
+
+ 0) && (Queue.Count() = 0))
+ While (('HasCycle) && (Queue.Size > 0))
+ {
+ Set HasCycle = (..VisitCycle(Queue.GetAt(1)) > ..Nodes.Count())
+ Do Queue.RemoveAt(1)
+ }
+ Quit HasCycle
+]]>
+
+
+
+
+Returns the length of the last visited path, if there is a cycle, it returns the numbers of nodes + 1
+Node:TECH.Algo.Graph.Node,PathLength:%Integer=0
+1
+%Integer
+ ..Nodes.Count()) && Iterator.HasNext())
+ {
+ Set PathLength = ..VisitCycle(Iterator.Next(),PathLength+1)
+ }
+ Quit PathLength
+]]>
+
+
+
+
+Geeft lijst van de Data vertrekkende van de lijst van de Nodes van de Graph.
+1
+DependencyQueue:%ListOfObjects
+%ListOfObjects
+
+
+
+
Index: TECH/Algo/Graph/Node.cls.xml
===================================================================
diff -u
--- TECH/Algo/Graph/Node.cls.xml (revision 0)
+++ TECH/Algo/Graph/Node.cls.xml (revision 1297)
@@ -0,0 +1,65 @@
+
+
+
+1
+%RegisteredObject
+0
+
+
+%String
+
+
+
+%String
+
+
+
+TECH.Algo.Graph.Node
+array
+1
+
+
+
+%Integer
+1
+
+
+
+Name:%String,Data:%String=""
+1
+1
+%Status
+
+
+
+
+Node:TECH.Algo.Graph.Node
+
+
+
+
+
+
+
+
+%Integer
+
+
+
+
+Node:TECH.Algo.Graph.Node
+
+
+
+
Index: DOM/PM/Maatwerk/Calc/HF/HalffabSpec.cls.xml
===================================================================
diff -u -r1075 -r1297
--- DOM/PM/Maatwerk/Calc/HF/HalffabSpec.cls.xml (.../HalffabSpec.cls.xml) (revision 1075)
+++ DOM/PM/Maatwerk/Calc/HF/HalffabSpec.cls.xml (.../HalffabSpec.cls.xml) (revision 1297)
@@ -74,7 +74,7 @@
1