| 
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01  | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.dmt.odm.rule.RuleComponent
An instance of RuleComponent can be used as an antecedent or consequent of a MiningRule instance. A RuleComponent contains an itemset (a set of ItemValues) and the support of the itemset.
MiningRule, ItemValue| Constructor Summary | |
RuleComponent(float support, ItemValue[] itemset)Creates an instance of RuleComponent with a support value and an itemset. | |
| Method Summary | |
 void | 
addItemSet(ItemValue item)Adds an instance of ItemValue to the itemset. | 
 ItemValue[] | 
getItemSet()Returns the itemset as an array of ItemValues. | 
 float | 
getSupport()Returns the support of the itemset.  | 
 int | 
getSupportCount()Returns the support count of the frequent itemset.  | 
 void | 
setSupportCount(int count)Sets the support count of the frequent itemset.  | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public RuleComponent(float support,
ItemValue[] itemset)
              throws MiningObjectException
RuleComponent with a support value and an itemset.support - The support value of the itemsetitemset - The itemsetMiningObjectException - thrown when the support value is out of range.| Method Detail | 
public void addItemSet(ItemValue item)
ItemValue to the itemset.item - An item to be added to the itemset.public float getSupport()
public int getSupportCount()
int - The support count of the itemset (number of cases that supports the itemset)public void setSupportCount(int count)
public ItemValue[] getItemSet()
ItemValues. 
  | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||