dm.mine
Class OLAPRuleLearn.Rule

java.lang.Object
  |
  +--dm.mine.OLAPRuleLearn.Rule
Enclosing class:
OLAPRuleLearn

public class OLAPRuleLearn.Rule
extends java.lang.Object

Internal class to represents a data mining rule


Field Summary
 java.util.ArrayList _alDims
           
 java.util.ArrayList _alDimValues
           
 double _dConf
           
 java.text.DecimalFormat _df
          Static data members
 double _dSupport
          Data members
 java.lang.Integer _nConseq
           
 java.lang.String _sConseqLabel
           
 
Constructor Summary
OLAPRuleLearn.Rule(double support, double confidence, java.util.Map condition_dim_vals, java.lang.Integer consequent)
          Rule constructor
 
Method Summary
 java.lang.String toString()
          Convert this rule to String format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_df

public java.text.DecimalFormat _df
Static data members

_dSupport

public double _dSupport
Data members

_dConf

public double _dConf

_alDims

public java.util.ArrayList _alDims

_alDimValues

public java.util.ArrayList _alDimValues

_nConseq

public java.lang.Integer _nConseq

_sConseqLabel

public java.lang.String _sConseqLabel
Constructor Detail

OLAPRuleLearn.Rule

public OLAPRuleLearn.Rule(double support,
                          double confidence,
                          java.util.Map condition_dim_vals,
                          java.lang.Integer consequent)
Rule constructor
Parameters:
support - Support value for this rule
confidence - Confidence value for this rule
ant_dims - Antecedent dimension indices
ant_vals - Antecedent value selections (match dims)
conseq_label - Consequent label (database column)
consequent - Consequent value
Method Detail

toString

public java.lang.String toString()
Convert this rule to String format
Overrides:
toString in class java.lang.Object
Returns:
String version of this rule