Home | History | Annotate | Download | only in gesture

Lines Matching defs:Instance

21  * An instance represents a sample if the label is available or a query if the
24 class Instance {
41 // the id of the instance
44 private Instance(long id, float[] sample, String sampleName) {
66 * create a learning instance for a single stroke gesture
70 * @return the instance
72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) {
74 Instance instance;
77 instance = new Instance(gesture.getID(), pts, label);
78 instance.normalize();
81 instance = new Instance(gesture.getID(), pts, label);
83 return instance;