Class AttributeOp
- java.lang.Object
-
- org.openjump.core.attributeoperations.AttributeOp
-
public class AttributeOp extends Object
description: provides some function to calculate mathematical indices like mean, max, median for a set of features.- Author:
- sstein
-
-
Constructor Summary
Constructors Constructor Description AttributeOp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
evaluateAttributes(int attributeOp, Feature[] features, String attributeName)
static double
evaluateAttributes(int attributeOp, List<Feature> features, String attributeName)
static String
getName(int attributeOP)
-
-
-
Field Detail
-
MAJORITY
public static final int MAJORITY
- See Also:
- Constant Field Values
-
MINORITY
public static final int MINORITY
- See Also:
- Constant Field Values
-
MEAN
public static final int MEAN
- See Also:
- Constant Field Values
-
MEDIAN
public static final int MEDIAN
- See Also:
- Constant Field Values
-
MIN
public static final int MIN
- See Also:
- Constant Field Values
-
MAX
public static final int MAX
- See Also:
- Constant Field Values
-
STD
public static final int STD
- See Also:
- Constant Field Values
-
SUM
public static final int SUM
- See Also:
- Constant Field Values
-
COUNT
public static final int COUNT
- See Also:
- Constant Field Values
-
-