Index
All Classes and Interfaces|All Packages
B
- bfs(V, NeighbourFunction<V, V>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Breadth-first traversal from
start, running to exhaustion. - bfs(V, NeighbourFunction<V, V>, Predicate<V>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Breadth-first traversal from
start, halting after the first node that satisfiesgoal. - bfsEvaluating(V, NeighbourFunction<V, V>, Evaluator<V, R>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Breadth-first traversal from
start, evaluating each node as it is visited. - bfsEvaluating(V, NeighbourFunction<V, V>, Evaluator<V, R>, Predicate<V>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Breadth-first traversal from
start, evaluating each node and halting after the first node that satisfiesgoal.
C
- cameFrom() - Method in class com.phasmidsoftware.visitor.java.TraversalResult
-
Which node each node was first reached from.
- com.phasmidsoftware.visitor.java - package com.phasmidsoftware.visitor.java
D
- dfs(V, NeighbourFunction<V, V>, Order) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal from
start, running to exhaustion. - dfs(V, NeighbourFunction<V, V>, Order, Predicate<V>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal from
start, halting after the first node that satisfiesgoal. - dfsEvaluating(V, NeighbourFunction<V, V>, Order, Evaluator<V, R>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal from
start, evaluating each node as it is visited. - dfsEvaluating(V, NeighbourFunction<V, V>, Order, Evaluator<V, R>, Predicate<V>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal from
start, evaluating each node and halting after the first node that satisfiesgoal.
E
- evaluate(V) - Method in interface com.phasmidsoftware.visitor.java.Evaluator
-
Evaluates
node. - Evaluator<V,
R> - Interface in com.phasmidsoftware.visitor.java -
Extracts an optional result from a node as it is visited.
N
- NeighbourFunction<H,
V> - Interface in com.phasmidsoftware.visitor.java -
Supplies the neighbours (or children) of a node.
- neighbours(H) - Method in interface com.phasmidsoftware.visitor.java.NeighbourFunction
-
Returns the neighbours of
node.
O
- Order - Enum Class in com.phasmidsoftware.visitor.java
-
Whether a depth-first traversal records a node before or after its descendants.
P
- POST - Enum constant in enum class com.phasmidsoftware.visitor.java.Order
-
Record a node after its children have been expanded and recorded.
- PRE - Enum constant in enum class com.phasmidsoftware.visitor.java.Order
-
Record a node before expanding its children.
R
- results() - Method in class com.phasmidsoftware.visitor.java.TraversalResult
-
The results the
Evaluatorproduced, in visit order.
T
- toString() - Method in class com.phasmidsoftware.visitor.java.TraversalResult
- TraversalResult<V,
R> - Class in com.phasmidsoftware.visitor.java -
What a traversal found.
- Traversals - Class in com.phasmidsoftware.visitor.java
-
The Java entry points to Visitor's traversal engine.
- traverseTree(H, NeighbourFunction<H, V>, NeighbourFunction<V, V>, Order) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal of a tree whose root may have a different type from its descendants.
- traverseTree(H, NeighbourFunction<H, V>, NeighbourFunction<V, V>, Order, Predicate<V>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal of a tree, halting after the first node that satisfies
goal. - traverseTreeEvaluating(H, NeighbourFunction<H, V>, NeighbourFunction<V, V>, Order, Evaluator<V, R>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal of a tree, evaluating each node as it is visited.
- traverseTreeEvaluating(H, NeighbourFunction<H, V>, NeighbourFunction<V, V>, Order, Evaluator<V, R>, Predicate<V>) - Static method in class com.phasmidsoftware.visitor.java.Traversals
-
Depth-first traversal of a tree, evaluating each node and halting after the first node that satisfies
goal.
V
- valueOf(String) - Static method in enum class com.phasmidsoftware.visitor.java.Order
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.phasmidsoftware.visitor.java.Order
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visited() - Method in class com.phasmidsoftware.visitor.java.TraversalResult
-
The nodes that were visited, in the order they were visited.
All Classes and Interfaces|All Packages