Package ucar.nc2.filter
Class Classifier
- java.lang.Object
-
- ucar.nc2.filter.Classifier
-
- All Implemented Interfaces:
Enhancement
public class Classifier extends Object implements Enhancement
-
-
Constructor Summary
Constructors Constructor Description Classifier()
Classifier(String[] AttCat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
classifyArrayAttribute(double val)
int[]
classifyWithAttributes(Array arr)
double
convert(double val)
static Classifier
createFromVariable(Variable var)
static int[]
stringToIntArray(String str)
-
-
-
Constructor Detail
-
Classifier
public Classifier()
-
Classifier
public Classifier(String[] AttCat)
-
-
Method Detail
-
createFromVariable
public static Classifier createFromVariable(Variable var)
-
classifyWithAttributes
public int[] classifyWithAttributes(Array arr)
-
classifyArrayAttribute
public int classifyArrayAttribute(double val)
-
convert
public double convert(double val)
- Specified by:
convert
in interfaceEnhancement
-
stringToIntArray
public static int[] stringToIntArray(String str)
-
-