Class StandardClassification
java.lang.Object
clickTrainDetector.classification.standardClassifier.StandardClassification
- All Implemented Interfaces:
CTClassification
A classification object for a standard classification
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionStandardClassification
(CTClassification[] ctClassifications, int speciesID) StandardClassification
(String jsonstring) Create a classification unit from a JSON string. -
Method Summary
Modifier and TypeMethodDescriptionThe classifier typeGet string logging for the classifier.int
Get the species ID for the classifier.Get summary string for classifiers.
-
Constructor Details
-
StandardClassification
-
StandardClassification
Create a classification unit from a JSON string.- Parameters:
jsonstring
-
-
-
Method Details
-
getCtClassifications
-
getClassifierType
Description copied from interface:CTClassification
The classifier type- Specified by:
getClassifierType
in interfaceCTClassification
- Returns:
- the classifier type
-
getSpeciesID
public int getSpeciesID()Description copied from interface:CTClassification
Get the species ID for the classifier. 0 is unassigned and will results in the click train being deleted . >0 means the click train has been classified. invalid input: '<'0 means that the click train has been detected but not classified.- Specified by:
getSpeciesID
in interfaceCTClassification
- Returns:
- the species ID for the classifier.
-
getSummaryString
Description copied from interface:CTClassification
Get summary string for classifiers.- Specified by:
getSummaryString
in interfaceCTClassification
- Returns:
- a string summary of classifiers.
-
getJSONLogging
Description copied from interface:CTClassification
Get string logging for the classifier.- Specified by:
getJSONLogging
in interfaceCTClassification
- Returns:
- the JSON logging
-