|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
public interface Algorithm
Interface to be implemented by any gesture recognition algorithm.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
Constant
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||