org.wiigee.logic
Class Classifier

java.lang.Object
  extended by org.wiigee.logic.Classifier

public class Classifier
extends java.lang.Object


Constructor Summary
Classifier()
           
 
Method Summary
 void addGestureModel(GestureModel gm)
           
 int classifyGesture(Gesture g)
          This method recognize a specific gesture, given to the procedure.
 void clear()
           
 int getCountOfGestures()
           
 GestureModel getGestureModel(int id)
           
 java.util.Vector<GestureModel> getGestureModels()
           
 double getLastProbability()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Classifier

public Classifier()
Method Detail

classifyGesture

public int classifyGesture(Gesture g)
This method recognize a specific gesture, given to the procedure. For classification a bayes classification algorithm is used.

Parameters:
g - gesture to classify

getLastProbability

public double getLastProbability()

addGestureModel

public void addGestureModel(GestureModel gm)

getGestureModel

public GestureModel getGestureModel(int id)

getGestureModels

public java.util.Vector<GestureModel> getGestureModels()

getCountOfGestures

public int getCountOfGestures()

clear

public void clear()