© 2006-2007 ETH Zurich

org.ximtec.igesture.algorithm
Class DefaultAlgorithm

java.lang.Object
  extended by org.ximtec.igesture.algorithm.DefaultAlgorithm
All Implemented Interfaces:
Algorithm
Direct Known Subclasses:
HWRecogniser, SampleBasedAlgorithm, SigerAlgorithm

public abstract class DefaultAlgorithm
extends Object
implements Algorithm

Default implementation of the algorithm interface.

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

Field Summary
protected static Map<String,String> DEFAULT_CONFIGURATION
           
 
Constructor Summary
DefaultAlgorithm()
           
 
Method Summary
 String getDefaultParameterValue(String parameterName)
          Returns the value of the default parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ximtec.igesture.algorithm.Algorithm
getConfigParameters, getType, init, recognise
 

Field Detail

DEFAULT_CONFIGURATION

protected static Map<String,String> DEFAULT_CONFIGURATION
Constructor Detail

DefaultAlgorithm

public DefaultAlgorithm()
Method Detail

getDefaultParameterValue

public String getDefaultParameterValue(String parameterName)
Returns the value of the default parameter.

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

© 2006-2007 ETH Zurich

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