public class FilteredAssociationRules extends AssociationRules
Constructor and Description |
---|
FilteredAssociationRules(Filter filter,
AssociationRules rules)
Constructs a new FilteredAssociationRules.
|
FilteredAssociationRules(java.lang.Object producer,
Filter filter,
AssociationRules rules)
Constructs a new FilteredAssociationRules.
|
FilteredAssociationRules(java.lang.String producer,
Filter filter,
AssociationRules rules)
Constructs a new FilteredAssociationRules.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumRules()
Get the number of rules.
|
java.util.List<AssociationRule> |
getRules()
Get the rules.
|
AssociationRules |
getWrappedRules()
Get the wrapped
AssociationRules object. |
void |
setRules(java.util.List<AssociationRule> rules)
Set the rules to use.
|
void |
setWrappedRules(AssociationRules rules)
Set the wrapped
AssociationRules object to use. |
getProducer, setProducer
public FilteredAssociationRules(java.lang.String producer, Filter filter, AssociationRules rules)
producer
- a string describing the scheme that produced these rules.filter
- the filter applied to preprocess the data used to learn the rules.rules
- the wrapped AssociationRules object.public FilteredAssociationRules(java.lang.Object producer, Filter filter, AssociationRules rules)
producer
- the scheme that produced the rulesfilter
- the filter applied to preprocess the data used to learn the rules.rules
- the wrapped AssociationRules object.public FilteredAssociationRules(Filter filter, AssociationRules rules)
filter
- the filter applied to preprocess the data used to learn the rules.rules
- the wrapped AssociationRules object.public void setRules(java.util.List<AssociationRule> rules)
setRules
in class AssociationRules
rules
- the rules to use.public java.util.List<AssociationRule> getRules()
getRules
in class AssociationRules
public int getNumRules()
getNumRules
in class AssociationRules
public void setWrappedRules(AssociationRules rules)
AssociationRules
object to use.rules
- the AssociationRules
object to wrap.public AssociationRules getWrappedRules()
AssociationRules
object.AssociationRules
object.