|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.algorithm.DefaultAlgorithm
org.ximtec.igesture.algorithm.SampleBasedAlgorithm
org.ximtec.igesture.algorithm.rubinebd.RubineAlgorithmBigDecimal
public class RubineAlgorithmBigDecimal
Implementation of the Rubine algorithm.
| Field Summary |
|---|
| Fields inherited from class org.ximtec.igesture.algorithm.DefaultAlgorithm |
|---|
DEFAULT_CONFIGURATION |
| Constructor Summary | |
|---|---|
RubineAlgorithmBigDecimal()
Default constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.ximtec.igesture.algorithm.SampleBasedAlgorithm |
|---|
getSamples |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RubineAlgorithmBigDecimal()
| Method Detail |
|---|
public ResultSet recognise(Gesture<?> gesture)
throws AlgorithmException
Algorithm
gesture - the gesture to be recognised.
AlgorithmException - if there was an exception while recognising the
note.
public void init(Configuration config)
throws AlgorithmException
Algorithm
config - 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()
Algorithm
public String getDefaultParameterValue(String parameterName)
DefaultAlgorithm
getDefaultParameterValue in interface AlgorithmgetDefaultParameterValue in class DefaultAlgorithmparameterName - the name of the parameter whose default value has to
be returned.
public int getType()
Algorithm
Constant
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||