public class SingleChild extends java.lang.Object implements EfficientTreeReductionRule
| Constructor and Description |
|---|
SingleChild() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(EfficientTree tree,
int node)
Apply the reduction rule on tree, on the node at position i.
|
public boolean apply(EfficientTree tree, int node)
EfficientTreeReductionRuleapply in interface EfficientTreeReductionRule