Esempio n. 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;
                }
            }
        }
Esempio n. 2
0
 GraphElement Faind(GraphElement element)
 {
 }
Esempio n. 3
0
 public GraphIterator(GraphI graph)
 {
     this.graph = graph;
     current    = this.graph.Head;
 }