|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.recognition.SceneDeltaSet
public class SceneDeltaSet
A collection of deltas that represents the cumulative set of possible changes recognized by a scene recognizer in response to a given event. If a recognizer does not recognize anything, it will return the constant NO_DELTA.
Field Summary | |
---|---|
static SceneDeltaSet |
NO_DELTA
A constant representing no change to a scene. |
Constructor Summary | |
---|---|
SceneDeltaSet()
Construct an empty scene delta set. |
Method Summary | |
---|---|
void |
addAll(SceneDeltaSet s)
Add all of the deltas from the given delta set to this delta set in sorted order from highest to lowest confidence. |
void |
addDelta(SceneDelta d)
Add a scene delta to this set in sorted order of confidence from highest to lowest. |
Iterator |
deltas()
Return the deltas in sorted order from highest confidence to lowest. |
int |
getDeltaCount()
Return the number of deltas contained in this set. |
void |
removeDelta(SceneDelta d)
Remove a scene delta from this set. |
String |
toString()
Print the contents of this delta set in sorted order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SceneDeltaSet NO_DELTA
Constructor Detail |
---|
public SceneDeltaSet()
Method Detail |
---|
public void addDelta(SceneDelta d)
public void removeDelta(SceneDelta d)
public int getDeltaCount()
public Iterator deltas()
public void addAll(SceneDeltaSet s)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |