|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ExtendedStatisticComponent.Config> de.hpi.fgis.dude.postprocessor.ExtendedStatisticComponent.Config
public static enum ExtendedStatisticComponent.Config
Enum Constant Summary | |
---|---|
DEFAULT
|
|
HYBRID
|
|
PAIRWISE_F1
|
|
PRECISION
|
|
RECALL
|
|
VARIATION_INFORMATION
|
Field Summary | |
---|---|
boolean |
activated
To check if the current config measure should be used for evaluation. |
int |
n
Total number of base records, needed for computation of VI measure. |
Method Summary | |
---|---|
void |
activate()
Activates usage of the current config measure. |
void |
deactivate()
Deactivates usage of the current config measure. |
abstract double |
fMerge(double x,
double y)
Computes the costs for a merge operation |
abstract double |
fSplit(double x,
double y)
Computes the costs for a split operation |
abstract String |
getLabel()
Returns the label of the configuration for the output components |
int |
getNumBaseRecords()
Getter for total number of base records, needed for computation of VI. |
boolean |
isActivated()
Checks if current config measure is activated for usage. |
void |
setNumBaseRecords(int n)
Setter for total number of base records, needed for computation of VI. |
static ExtendedStatisticComponent.Config |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ExtendedStatisticComponent.Config[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ExtendedStatisticComponent.Config DEFAULT
public static final ExtendedStatisticComponent.Config RECALL
public static final ExtendedStatisticComponent.Config PRECISION
public static final ExtendedStatisticComponent.Config VARIATION_INFORMATION
public static final ExtendedStatisticComponent.Config HYBRID
public static final ExtendedStatisticComponent.Config PAIRWISE_F1
Field Detail |
---|
public boolean activated
public int n
Method Detail |
---|
public static ExtendedStatisticComponent.Config[] values()
for (ExtendedStatisticComponent.Config c : ExtendedStatisticComponent.Config.values()) System.out.println(c);
public static ExtendedStatisticComponent.Config valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic abstract double fSplit(double x, double y)
x
- the size of cluster x_i that was split off from the original clustery
- The size of cluster y_i that was split off as other half of the original cluster
public abstract double fMerge(double x, double y)
x
- The size of cluster x_i that is merged with y_iy
- The size of cluster y_i that is merged with x_i
public abstract String getLabel()
public void activate()
public void deactivate()
public boolean isActivated()
public void setNumBaseRecords(int n)
n
- Total number of base records to set.public int getNumBaseRecords()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |