public static enum FPGrowth.AssociationRule.METRIC_TYPE extends java.lang.Enum<FPGrowth.AssociationRule.METRIC_TYPE>
Enum Constant and Description |
---|
CONFIDENCE |
CONVICTION |
LEVERAGE |
LIFT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
java.lang.String |
toStringMetric(int premiseSupport,
int consequenceSupport,
int totalSupport,
int totalTransactions) |
java.lang.String |
toXML(int premiseSupport,
int consequenceSupport,
int totalSupport,
int totalTransactions) |
static FPGrowth.AssociationRule.METRIC_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FPGrowth.AssociationRule.METRIC_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FPGrowth.AssociationRule.METRIC_TYPE CONFIDENCE
public static final FPGrowth.AssociationRule.METRIC_TYPE LIFT
public static final FPGrowth.AssociationRule.METRIC_TYPE LEVERAGE
public static final FPGrowth.AssociationRule.METRIC_TYPE CONVICTION
public static FPGrowth.AssociationRule.METRIC_TYPE[] values()
for (FPGrowth.AssociationRule.METRIC_TYPE c : FPGrowth.AssociationRule.METRIC_TYPE.values()) System.out.println(c);
public static FPGrowth.AssociationRule.METRIC_TYPE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FPGrowth.AssociationRule.METRIC_TYPE>
public java.lang.String toStringMetric(int premiseSupport, int consequenceSupport, int totalSupport, int totalTransactions)
public java.lang.String toXML(int premiseSupport, int consequenceSupport, int totalSupport, int totalTransactions)