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