public class AssociationRule
extends java.lang.Object
It is used for representing and handling an Association Rule
Constructor and Description |
---|
AssociationRule() |
Modifier and Type | Method and Description |
---|---|
void |
addAntecedent(Gene g) |
void |
addConsequent(Gene g) |
AssociationRule |
copy() |
double |
getAll_support() |
java.util.ArrayList<Gene> |
getAntecedent() |
double |
getCF() |
double |
getConfidence()
It returns the confidence of an association rule
|
java.util.ArrayList<Gene> |
getConsequent()
It retrieves the consequent part of an association rule
|
double |
getConv() |
int |
getLengthAntecedent() |
int |
getLengthRule() |
double |
getLift() |
double |
getNetConf() |
double |
getSupport_consq() |
double |
getSupport()
It returns the support of an association rule
|
double |
getYulesQ() |
void |
setAll_support(double all_support) |
void |
setCF(double cf) |
void |
setConfidence(double confidence)
Sets the confidence of an association rule with the value given.
|
void |
setConv(double conv) |
void |
setLift(double lift) |
void |
setNetConf(double netConf) |
void |
setSupport_consq(double support_consq) |
void |
setSupport(double support)
Sets the support of an association rule with the given value.
|
void |
setYulesQ(double yulesQ) |
java.lang.String |
toString()
It returns a raw string representation of an association rule
|
public double getYulesQ()
public void setYulesQ(double yulesQ)
public AssociationRule copy()
public void addAntecedent(Gene g)
public void addConsequent(Gene g)
public java.util.ArrayList<Gene> getAntecedent()
public java.util.ArrayList<Gene> getConsequent()
It retrieves the consequent part of an association rule
public int getLengthRule()
public int getLengthAntecedent()
public double getAll_support()
public void setAll_support(double all_support)
public double getSupport()
It returns the support of an association rule
public void setSupport(double support)
Sets the support of an association rule with the given value.
support
- given value.public double getConfidence()
It returns the confidence of an association rule
public void setConfidence(double confidence)
confidence
- given value.public java.lang.String toString()
It returns a raw string representation of an association rule
toString
in class java.lang.Object
public double getLift()
public void setLift(double lift)
public double getCF()
public void setCF(double cf)
public double getConv()
public void setConv(double conv)
public double getNetConf()
public void setNetConf(double netConf)
public double getSupport_consq()
public void setSupport_consq(double support_consq)