Package org.nineml.coffeegrinder.trees
Class Lumberjack
- java.lang.Object
-
- org.nineml.coffeegrinder.trees.Arborist
-
- org.nineml.coffeegrinder.trees.Lumberjack
-
public class Lumberjack extends Arborist
An "unspecialist" Arborist.The lumberjack extracts trees sequentially from a forest.
-
-
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)
-
-