creates a traversal Iterable starting traversals for every Node in the list stopEval and RetEval are called with (Nodes of) type T.
creates a traversal Iterable starting traversals for every Node in the list stopEval and RetEval are called with (Nodes of) type T. The returned Iterable can be converted to List. F. e.:
myListOfNodes.doTraverse[MatrixBase](follow(BREADTH_FIRST) -- "KNOWS" ->- "CODED_BY" -<- "FOO") {
END_OF_GRAPH
} {
case (x: Matrix, tp) if (tp.depth == 2) => x.name.length > 2
case (x: NonMatrix, _) => false
}.toList.sortWith(_.name < _.name)
All Nodes are preconverted to a List[T] and distinct
result type (nodes are converted to T)
RelationBuffer to define Directions and RelationTypes
Partial Function for stop evaluator function
Partial Function for return evaluator function
Iterable[T] of converted nodes of type T
Enhances a List of Nodes with a doTraverse method