GraphWalker<T> constructor

GraphWalker<T>({
  1. NodeMatcher<T>? stopMatcher,
  2. bool processRoots = true,
  3. int maxExpansion = 1,
  4. bool sortByInputDependency = false,
  5. bool bfs = false,
  6. Map<Node<T>, int>? initialProcessedNodes,
})

Implementation

GraphWalker({
  NodeMatcher<T>? stopMatcher,
  this.processRoots = true,
  this.maxExpansion = 1,
  this.sortByInputDependency = false,
  this.bfs = false,
  Map<Node<T>, int>? initialProcessedNodes,
})  : stopMatcher = stopMatcher ?? NoneNode(),
      _initialProcessedNodes = initialProcessedNodes {
  reset();
}