© 2006-2007 ETH Zurich

org.ximtec.igesture.algorithm.siger
Class SigerAlgorithm

java.lang.Object
  extended by org.ximtec.igesture.algorithm.DefaultAlgorithm
      extended by org.ximtec.igesture.algorithm.siger.SigerAlgorithm
All Implemented Interfaces:
Algorithm

public class SigerAlgorithm
extends DefaultAlgorithm

Implementation of the Siger algorithm.

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

Nested Class Summary
static class SigerAlgorithm.Config
           
 
Field Summary
 
Fields inherited from class org.ximtec.igesture.algorithm.DefaultAlgorithm
DEFAULT_CONFIGURATION
 
Constructor Summary
SigerAlgorithm()
           
 
Method Summary
 SigerAlgorithm.Config[] getConfigParameters()
          Returns an array of containing the configuration parameters.
 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.
 
Methods inherited from class org.ximtec.igesture.algorithm.DefaultAlgorithm
getDefaultParameterValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigerAlgorithm

public SigerAlgorithm()
Method Detail

init

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

Parameters:
configuration - 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 SigerAlgorithm.Config[] getConfigParameters()
Description copied from interface: Algorithm
Returns an array of containing the configuration parameters.

Returns:
the configuration parameters.

recognise

public ResultSet recognise(Gesture<?> gesture)
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.

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.