Beispiel #1
0
        public GraphElement GetNext(GraphElement element)
        {
            GraphElement next;

            stack.Push(element);
            foreach (GraphElement child in element.ListElements)
            {
                if (!stack.Contains(child))
                {
                    next = child;
                    break;
                }
            }
        }
Beispiel #2
0
 GraphElement Faind(GraphElement element)
 {
 }
Beispiel #3
0
 public GraphIterator(GraphI graph)
 {
     this.graph = graph;
     current    = this.graph.Head;
 }