public class Statistic extends Object
| Constructor and Description |
|---|
Statistic(GestureClass gestureClass)
Constructs a new class statistic.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Statistic(GestureClass gestureClass)
className - the name of the gesture classpublic void incCorrect()
public int getCorrect()
public void incError()
public int getError()
public void incRejectError()
public int getRejectError()
public void incRejectCorrect()
public int getRejectCorrect()
public String getClassName()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.