com.rapidminer.operator.learner.rules
Class BestRuleInduction.RuleWithScoreUpperBound

java.lang.Object
  extended by com.rapidminer.operator.learner.rules.BestRuleInduction.RuleWithScoreUpperBound
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
BestRuleInduction

public static class BestRuleInduction.RuleWithScoreUpperBound
extends java.lang.Object
implements java.lang.Comparable

Helper class containing a rule and an upper bound for the score.


Constructor Summary
BestRuleInduction.RuleWithScoreUpperBound(ConjunctiveRuleModel rule, double scoreUpperBound)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 ConjunctiveRuleModel getRule()
           
 double getScoreBound()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestRuleInduction.RuleWithScoreUpperBound

public BestRuleInduction.RuleWithScoreUpperBound(ConjunctiveRuleModel rule,
                                                 double scoreUpperBound)
Method Detail

getRule

public ConjunctiveRuleModel getRule()

getScoreBound

public double getScoreBound()

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2001-2009 by Rapid-I