|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.core.DefaultPropertyChangeNotifier
org.ximtec.igesture.core.DefaultDataObject
org.ximtec.igesture.core.TestSet
public class TestSet
Set of gesture samples used to evaluate algorithms.
| Field Summary | |
|---|---|
static String |
NOISE
|
static String |
PROPERTY_NAME
|
static String |
PROPERTY_TEST_CLASSES
|
| Fields inherited from class org.ximtec.igesture.core.DefaultDataObject |
|---|
PROPERTY_ID |
| Fields inherited from class org.ximtec.igesture.core.DefaultPropertyChangeNotifier |
|---|
propertyChangeSupport |
| Constructor Summary | |
|---|---|
TestSet(String name)
Constructs a new test set. |
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
Accepts a visitor. |
void |
add(Gesture<?> sample)
Adds a sample to the list of samples. |
void |
addAll(List<Gesture<?>> samples)
Adds a list of samples. |
void |
addTestClass(TestClass testClass)
|
void |
addTestClasses(List<TestClass> testClasses)
|
String |
getName()
Returns the name of the test set. |
int |
getNoiseSize()
Returns the number of samples which should be rejected by the recogniser. |
int |
getNumberOfSamples()
Returns the number of samples in the test set. |
TestClass |
getTestClass(String name)
|
List<TestClass> |
getTestClasses()
Returns all samples. |
boolean |
isEmpty()
Returns true if the test set is empty. |
void |
remove(TestClass testClass)
Removes a the sample from the list of samples. |
void |
setName(String name)
Sets the name of the test set. |
int |
size()
Returns the size of the test set. |
String |
toString()
|
| Methods inherited from class org.ximtec.igesture.core.DefaultDataObject |
|---|
getId, setId |
| Methods inherited from class org.ximtec.igesture.core.DefaultPropertyChangeNotifier |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ximtec.igesture.core.PropertyChangeNotifier |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
public static final String PROPERTY_NAME
public static final String PROPERTY_TEST_CLASSES
public static final String NOISE
| Constructor Detail |
|---|
public TestSet(String name)
name - the name of the test set.| Method Detail |
|---|
public void add(Gesture<?> sample)
sample - the sample to be added.public TestClass getTestClass(String name)
public void addTestClass(TestClass testClass)
public void addTestClasses(List<TestClass> testClasses)
public void addAll(List<Gesture<?>> samples)
samples - the samples to be added.public void remove(TestClass testClass)
sample - the sample to be removed.public List<TestClass> getTestClasses()
public int getNoiseSize()
public void setName(String name)
name - the name of the test set.public String getName()
public int size()
public int getNumberOfSamples()
public boolean isEmpty()
public void accept(Visitor visitor)
accept in interface DataObjectaccept in class DefaultDataObjectvisitor - the visitor to be used.public String toString()
toString in class Object
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||