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 void
getTree(TreeBuilder builder)
boolean
hasMoreTrees()
boolean
isAbsolutelyAmbiguous()
boolean
isAmbiguous()
void
reset()
-
Methods inherited from class org.nineml.coffeegrinder.trees.Arborist
closesLoop, getArborist, getArborist, getSelectedNodes, getSelectedTrees
-
-
-
-
Method Detail
-
isAmbiguous
public boolean isAmbiguous()
- Specified by:
isAmbiguous
in classArborist
-
isAbsolutelyAmbiguous
public boolean isAbsolutelyAmbiguous()
- Specified by:
isAbsolutelyAmbiguous
in classArborist
-
hasMoreTrees
public boolean hasMoreTrees()
- Specified by:
hasMoreTrees
in classArborist
-
getTree
public void getTree(TreeBuilder builder)
-
-