|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<HierarchyMeanFormula> org.askalon.graph.chart.HierarchyMeanFormula
public enum HierarchyMeanFormula
Contains various types of supported mean forumals for the hierarchy chart.
Enum Constant Summary | |
---|---|
ARITHMETIC
Arithmetic mean |
|
GEOMETRIC
Geometric mean |
|
HARMONIC
Harmonic mean |
|
QUADRATIC
Quadratic mean |
Method Summary | |
---|---|
abstract double |
getMean(double[] values)
Gets the mean of the given values. |
String |
toString()
Gets the name of this mean formula. |
static HierarchyMeanFormula |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HierarchyMeanFormula[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HierarchyMeanFormula ARITHMETIC
public static final HierarchyMeanFormula GEOMETRIC
public static final HierarchyMeanFormula HARMONIC
public static final HierarchyMeanFormula QUADRATIC
Method Detail |
---|
public static final HierarchyMeanFormula[] values()
for(HierarchyMeanFormula c : HierarchyMeanFormula.values()) System.out.println(c);
public static HierarchyMeanFormula valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic abstract double getMean(double[] values)
values
- an array containg values to calculate the mean value for
public String toString()
toString
in class Enum<HierarchyMeanFormula>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Part of: |
ASKALON Visualisation Diagrams |