Package pal.tree
Class TreeRestricter
- java.lang.Object
-
- pal.tree.TreeRestricter
-
public class TreeRestricter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TreeRestricter(Node root, int units, java.lang.String[] names, boolean inclusion)
TreeRestricter(Tree t, java.lang.String[] names, boolean inclusion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pal.tree.TreeRestricter.RNode
construct(Node peer, java.lang.String[] names, boolean inclusion, boolean isRoot)
Node
generateNode()
Tree
generateTree()
-
-
-
Constructor Detail
-
TreeRestricter
public TreeRestricter(Node root, int units, java.lang.String[] names, boolean inclusion)
- 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
public TreeRestricter(Tree t, java.lang.String[] names, boolean inclusion)
- 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
-
-