net.sf.myra.hantminer
Class Pruner

java.lang.Object
  extended by net.sf.myra.hantminer.Pruner

public class Pruner
extends java.lang.Object

Version:
$Revision$ $Date:: $
Author:
Fernando Esteban Barril Otero

Constructor Summary
Pruner(RuleEvaluator evaluator)
          Defautl constructor.
 
Method Summary
 HybridRule explore(HybridRule rule)
          Returns a (potentially) improved rule by pruning both antecedent and consequent of the specified rule.
 RuleEvaluator getEvaluator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pruner

public Pruner(RuleEvaluator evaluator)
Defautl constructor.

Parameters:
evaluator - the rule evaluator instance used to evaluate the candidate rules.
Method Detail

explore

public HybridRule explore(HybridRule rule)
Returns a (potentially) improved rule by pruning both antecedent and consequent of the specified rule.

Parameters:
rule - the rule to be pruned.
Returns:
a (potentially) improved rule by pruning both antecedent and consequent of the specified rule.

getEvaluator

public RuleEvaluator getEvaluator()


Copyright © 2013. All Rights Reserved.