© 2006-2007 ETH Zurich

org.ximtec.igesture.algorithm.rubinebd
Class RubineAlgorithmBigDecimal

java.lang.Object
  extended by org.ximtec.igesture.algorithm.DefaultAlgorithm
      extended by org.ximtec.igesture.algorithm.SampleBasedAlgorithm
          extended by org.ximtec.igesture.algorithm.rubinebd.RubineAlgorithmBigDecimal
All Implemented Interfaces:
Algorithm

public class RubineAlgorithmBigDecimal
extends SampleBasedAlgorithm

Implementation of the Rubine algorithm.

Version:
1.0 Dec 2006
Author:
Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch

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

RubineAlgorithmBigDecimal

public RubineAlgorithmBigDecimal()
Default constructor

Method Detail

recognise

public ResultSet recognise(Gesture<?> gesture)
                    throws AlgorithmException
Description copied from interface: Algorithm
Runs the recogniser on a given set of strokes represented by a gesture.

Parameters:
gesture - the gesture to be recognised.
Returns:
the result set containing the recognised gesture classes.
Throws:
AlgorithmException - if there was an exception while recognising the note.

init

public void init(Configuration config)
          throws AlgorithmException
Description copied from interface: Algorithm
Initialises the algorithm.

Parameters:
config - the configuration to be used for the initialisation of the algorithm.
Throws:
AlgorithmException - if there is a problem in the algorithm's initialisation phase.

getConfigParameters

public RubineConfiguration.Config[] getConfigParameters()
Description copied from interface: Algorithm
Returns an array of containing the configuration parameters.

Returns:
the configuration parameters.

getDefaultParameterValue

public String getDefaultParameterValue(String parameterName)
Description copied from class: DefaultAlgorithm
Returns the value of the default parameter.

Specified by:
getDefaultParameterValue in interface Algorithm
Overrides:
getDefaultParameterValue in class DefaultAlgorithm
Parameters:
parameterName - the name of the parameter whose default value has to be returned.
Returns:
the value of a specific default parameter.

getType

public int getType()
Description copied from interface: Algorithm
Get the type of algorithm

See Also:
Constant

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.