js/graph/dfsGraphTraversal.js
/**
 * Constructs a DFSGraphTraversal
 * 
 * @classdesc
 * 
 * A DFSGraphTraversal specifies a strategy for traversing an
 * {@link AbstractGraph} in depth-first-search order. As is typical with
 * depth-first-search, nodes to be visited (along with their state and data) are
 * stored on a stack.
 * 
 * @constructor
 */


@classdesc

A DFSGraphTraversal specifies a strategy for traversing an
AbstractGraph in depth-first-search order. As is typical with
depth-first-search, nodes to be visited (along with their state and data) are
stored on a stack.

@constructor
@classdesc A DFSGraphTraversal specifies a strategy for traversing an AbstractGraph in depth - first - search order . As is typical with depth - first - search nodes to be visited ( along with their state and data ) are stored on a stack . @constructor
function DFSGraphTraversal() {
    GraphTraversal.call(this);
    this.stack = [];
    this.parent = {};
    this.reset();
}
function DFSGraphTraversal ( ) { GraphTraversal . call ( this ) ; this . stack = [ ] ; this . parent = { } ; this . reset ( ) ; }
Constructs a DFSGraphTraversal
Constructs a DFSGraphTraversal
/** @private */ /** @private */