public class AssociationRules
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AssociationRules(java.util.List<AssociationRule> rules)
Constructs a new AssociationRules.
|
AssociationRules(java.util.List<AssociationRule> rules,
java.lang.Object producer)
Constructs a new AssociationRules.
|
AssociationRules(java.util.List<AssociationRule> rules,
java.lang.String producer)
Constructs a new AssociationRules.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumRules()
Get the number of rules.
|
java.lang.String |
getProducer()
Get a string describing the scheme that produced these rules.
|
java.util.List<AssociationRule> |
getRules()
Get the rules.
|
void |
setProducer(java.lang.String producer)
Set a textual description of the scheme that produced
these rules.
|
void |
setRules(java.util.List<AssociationRule> rules)
Set the rules to use.
|
public AssociationRules(java.util.List<AssociationRule> rules, java.lang.String producer)
rules
- the list of rules.producer
- a string describing the scheme that produced these rules.public AssociationRules(java.util.List<AssociationRule> rules, java.lang.Object producer)
rules
- the list of rules.producer
- the scheme that produced the rules.public AssociationRules(java.util.List<AssociationRule> rules)
rules
- the list of rules.public void setRules(java.util.List<AssociationRule> rules)
rules
- the rules to use.public java.util.List<AssociationRule> getRules()
public int getNumRules()
public void setProducer(java.lang.String producer)
producer
- a textual description of the scheme that produced
these rules.public java.lang.String getProducer()