public DirectedGraphAdjacencyListPreOrderDFTraversalRecursiveIterator( GraphTraversalFixture fixture) { this.fixture = fixture; traversalType = "dft-string"; TraversalAlgorithm = DirectedGraphAdjacencyList <char> .PreOrderDepthFirstTraversalRecursiveIterator; }
public DirectedGraphAdjacencyListBFTraversalIterator( GraphTraversalFixture fixture) { this.fixture = fixture; traversalType = "bft-string"; TraversalAlgorithm = (INode <char> node) => DirectedGraphAdjacencyList <char> .BreadthFirstTraversalIterativeIterator( node, new QueueSinglyLinkedList <INode <char> >()); }
public DirectedGraphAdjacencyListPreOrderDFTraversalIterativeIterator( GraphTraversalFixture fixture) { this.fixture = fixture; traversalType = "dft-string"; TraversalAlgorithm = (INode <char> node) => DirectedGraphAdjacencyList <char> .PreOrderDepthFirstTraversalIterativeIterator( node, new StackSinglyLinkedList <INode <char> >()); }
public GraphTests0(GraphTraversalFixture fixture) { this.fixture = fixture; }