org.ximtec.igesture.algorithm.signature
Interface DistanceFunction
- All Known Implementing Classes:
- HammingDistance, LevenshteinDistance
public interface DistanceFunction
Interface for distance functions.
- Version:
- 1.0 Dec 2006
- Author:
- Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch
computeDistance
int computeDistance(GestureSignature s1,
GestureSignature s2)
- Computes the distance between two signatures.
- Parameters:
s1 - the first signature.s2 - the second signature.
- Returns:
- the distance between signature 1 and 2
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.