ReqPeggingTreeTraverser.fetchChildren Method [AX 2012]

Fetches the next child nodes to be traversed.

protected void fetchChildren(ReqPeggingTreeNode _currentNode, List _unvisitedNodes)

Run On

Called

Parameters

_currentNode
Type: ReqPeggingTreeNode Class
The current tree node.
_unvisitedNodes
Type: List Class
The list of unvisited nodes.

By implementing this method, one can control the traversal strategy to be depth-first, breadth-first, or anything else.

By default, this method implements breadth-first.

Community Additions

ADD
Show: