public interface Algorithm
| Modifier and Type | Method and Description |
|---|---|
Enum<?>[] |
getConfigParameters()
Returns an array of containing the configuration parameters.
|
String |
getDefaultParameterValue(String parameterName)
Returns the default value for a given parameter.
|
int |
getType()
Get the type of algorithm
|
void |
init(Configuration configuration)
Initialises the algorithm.
|
ResultSet |
recognise(Gesture<?> gesture)
Runs the recogniser on a given set of strokes represented by a gesture.
|
void init(Configuration configuration) throws AlgorithmException
configuration - the configuration to be used for the initialisation of
the algorithm.AlgorithmException - if there is a problem in the algorithm's
initialisation phase.ResultSet recognise(Gesture<?> gesture) throws AlgorithmException
gesture - the gesture to be recognised.AlgorithmException - if there was an exception while recognising the
note.Enum<?>[] getConfigParameters()
String getDefaultParameterValue(String parameterName)
parameterName - the name of the parameter whose default value has to
be returned.int getType()
ConstantCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.