Package org.nineml.coffeegrinder.trees
Class TreeSurgeon
- java.lang.Object
-
- org.nineml.coffeegrinder.trees.Arborist
-
- org.nineml.coffeegrinder.trees.TreeSurgeon
-
public class TreeSurgeon extends Arborist
A specialist Arborist.The tree surgeon makes no attempt to return trees in sequential order and treats every request as distinct.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetTree(TreeBuilder builder)booleanhasMoreTrees()booleanisAbsolutelyAmbiguous()booleanisAmbiguous()voidreset()-
Methods inherited from class org.nineml.coffeegrinder.trees.Arborist
closesLoop, getArborist, getArborist, getSelectedNodes, getSelectedTrees
-
-
-
-
Method Detail
-
isAmbiguous
public boolean isAmbiguous()
- Specified by:
isAmbiguousin classArborist
-
isAbsolutelyAmbiguous
public boolean isAbsolutelyAmbiguous()
- Specified by:
isAbsolutelyAmbiguousin classArborist
-
hasMoreTrees
public boolean hasMoreTrees()
- Specified by:
hasMoreTreesin classArborist
-
getTree
public void getTree(TreeBuilder builder)
-
-