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