© 2006-2007 ETH Zurich

org.ximtec.igesture.batch
Class Statistic

java.lang.Object
  extended by org.ximtec.igesture.batch.Statistic

public class Statistic
extends Object

Holds static information about a gesture class. Used by the BatchProcess.

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

Constructor Summary
Statistic(GestureClass gestureClass)
          Constructs a new class statistic.
 
Method Summary
 String getClassName()
          Returns the gesture class name.
 int getCorrect()
          Returns the number of correctly recognised gestures.
 int getError()
          Returns the number of errors.
 int getRejectCorrect()
          Returns the number of correctly rejected gestures.
 int getRejectError()
           
 void incCorrect()
          Increments the number of correctly recognised gestures.
 void incError()
          Increments the number of errors.
 void incRejectCorrect()
          Increments the number of correctly rejected gestured.
 void incRejectError()
          Increments the number of wrongly rejected gestures.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistic

public Statistic(GestureClass gestureClass)
Constructs a new class statistic.

Parameters:
className - the name of the gesture class
Method Detail

incCorrect

public void incCorrect()
Increments the number of correctly recognised gestures.


getCorrect

public int getCorrect()
Returns the number of correctly recognised gestures.

Returns:
the number of correctly recognised gesture.

incError

public void incError()
Increments the number of errors.


getError

public int getError()
Returns the number of errors.

Returns:
the number of errors.

incRejectError

public void incRejectError()
Increments the number of wrongly rejected gestures.


getRejectError

public int getRejectError()

incRejectCorrect

public void incRejectCorrect()
Increments the number of correctly rejected gestured.


getRejectCorrect

public int getRejectCorrect()
Returns the number of correctly rejected gestures.

Returns:
the number of correctly rejected gestures.

getClassName

public String getClassName()
Returns the gesture class name.

Returns:
the gesture class name.

© 2006-2007 ETH Zurich

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