Package org.nineml.coffeegrinder.trees
Class Arborist
java.lang.Object
org.nineml.coffeegrinder.trees.Arborist
- Direct Known Subclasses:
Lumberjack,TreeSurgeon
One who might be employed to extract trees from a forest.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanclosesLoop(ForestNode node) static ArboristgetArborist(ParseForest forest) static ArboristgetArborist(ParseForest forest, Axe axe) abstract voidgetTree(TreeBuilder builder) abstract booleanabstract booleanabstract booleanabstract voidreset()
-
Field Details
-
forest
-
-
Method Details
-
getTree
-
isAmbiguous
public abstract boolean isAmbiguous() -
isAbsolutelyAmbiguous
public abstract boolean isAbsolutelyAmbiguous() -
hasMoreTrees
public abstract boolean hasMoreTrees() -
reset
public abstract void reset() -
getArborist
-
getArborist
-
closesLoop
-
getSelectedNodes
-
getSelectedTrees
-