public class PruneNodeNumberOfChildren extends NodePruner
maxNumberOfChildren
children.Modifier and Type | Field and Description |
---|---|
protected int |
maxNumberOfChildren |
Constructor and Description |
---|
PruneNodeNumberOfChildren(int maxNumberOfChildren) |
Modifier and Type | Method and Description |
---|---|
String |
describe() |
void |
pruneNodes(TreeNode node)
given a node, prunes any of the descendant nodes
|
initPruner
public PruneNodeNumberOfChildren(int maxNumberOfChildren)
public String describe()
describe
in class NodePruner
public void pruneNodes(TreeNode node)
NodePruner
pruneNodes
in class NodePruner
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.