net.sf.myra.antree
Class LeafAdjustedPruner

java.lang.Object
  extended by net.sf.myra.antree.LeafAdjustedPruner
All Implemented Interfaces:
Pruner

public class LeafAdjustedPruner
extends java.lang.Object
implements Pruner

Version:
$Revision: 2329 $ $Date:: 2011-08-02 09:57:44#$
Author:
Fernando Esteban Barril Otero

Constructor Summary
LeafAdjustedPruner()
          Default constructor.
 
Method Summary
 Tree prune(Tree tree, net.sf.myra.datamining.data.Dataset dataset)
          Prunes the specified tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeafAdjustedPruner

public LeafAdjustedPruner()
Default constructor.

Method Detail

prune

public Tree prune(Tree tree,
                  net.sf.myra.datamining.data.Dataset dataset)
Description copied from interface: Pruner
Prunes the specified tree.

Specified by:
prune in interface Pruner
Parameters:
tree - the tree to be pruned.
dataset - the current data set.
Returns:
the (new) pruned tree.


Copyright © 2013. All Rights Reserved.