Package org.geotools.filter.function
Class StandardDeviationFunction
Object
ExpressionAbstract
DefaultExpression
ClassificationFunction
StandardDeviationFunction
- All Implemented Interfaces:
Expression,Function,FunctionExpression,Factory
Breaks a SimpleFeatureCollection into classes using the standard deviation classification method.
- Author:
- Cory Horner, Refractions Research Inc.
-
Field Summary
FieldsFields inherited from class ClassificationFunction
LOGGERFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcomputePercentage(double[] percentages, double classMembers, double totalSize, int index) Compute the percentage from the input parameters, setting in the percentages array at the specified indexSubclass should override, default implementation returns null.protected booleanMethods inherited from class ClassificationFunction
accept, computeGroupByPercentages, decimalPlaces, fixRound, getClasses, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, getProgressListener, round, setClasses, setFallbackValue, setParameters, setProgressListener, toStringMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
StandardDeviationFunction
public StandardDeviationFunction()
-
-
Method Details
-
evaluate
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Specified by:
evaluatein classClassificationFunction- Returns:
- default implementation returns null
-
computePercentage
protected void computePercentage(double[] percentages, double classMembers, double totalSize, int index) Description copied from class:ClassificationFunctionCompute the percentage from the input parameters, setting in the percentages array at the specified index- Overrides:
computePercentagein classClassificationFunction
-
percentages
protected boolean percentages()
-