Package pal.tree
Class TreeRestricter
java.lang.Object
pal.tree.TreeRestricter
-
Constructor Summary
ConstructorsConstructorDescriptionTreeRestricter
(Node root, int units, String[] names, boolean inclusion) TreeRestricter
(Tree t, String[] names, boolean inclusion) -
Method Summary
-
Constructor Details
-
TreeRestricter
- Parameters:
root
- The root of the treeunits
- the units of the treenames
- the names of the nodes to either exclude, or includeinclusion
- if true the names supplied mark leaves to include, else mark leaves to exclude
-
TreeRestricter
- Parameters:
names
- the names of the nodes to either exclude, or includeinclusion
- if true the names supplied mark leaves to include, else mark leaves to excluderoot
- The root of the treeunits
- the units of the tree
-
-
Method Details
-
generateNode
-
generateTree
-
construct
-