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
LOGGER
Fields inherited from interface Expression
NIL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
computePercentage
(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 boolean
Methods inherited from class ClassificationFunction
accept, computeGroupByPercentages, decimalPlaces, fixRound, getClasses, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, getProgressListener, round, setClasses, setFallbackValue, setParameters, setProgressListener, toString
Methods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
Methods inherited from class ExpressionAbstract
evaluate
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
StandardDeviationFunction
public StandardDeviationFunction()
-
-
Method Details
-
evaluate
Description copied from class:ExpressionAbstract
Subclass should override, default implementation returns null.- Specified by:
evaluate
in interfaceExpression
- Specified by:
evaluate
in classClassificationFunction
- Returns:
- default implementation returns null
-
computePercentage
protected void computePercentage(double[] percentages, double classMembers, double totalSize, int index) Description copied from class:ClassificationFunction
Compute the percentage from the input parameters, setting in the percentages array at the specified index- Overrides:
computePercentage
in classClassificationFunction
-
percentages
protected boolean percentages()
-