diva.sketch.recognition
Class SceneDelta

java.lang.Object
  extended by diva.sketch.recognition.SceneDelta
Direct Known Subclasses:
SceneDelta.Additive, SceneDelta.Subtractive

public abstract class SceneDelta
extends Object

A class that represents a change in the scene database. Deltas can either be additive or subtractive, meaning that they can TODO: more documentation on SceneDelta

Version:
$Revision: 1.5 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Nested Class Summary
static class SceneDelta.Additive
          An additive version of the SceneDelta class.
static class SceneDelta.Subtractive
          A subtractive version of the SceneDelta class.
 
Constructor Summary
SceneDelta()
           
 
Method Summary
abstract  void commit()
          Commit the results of this delta to the scene.
abstract  Iterator elements()
          Entries that were added but are not the root.
abstract  double getConfidence()
          Get the confidence of the root of the delta.
abstract  CompositeElement getRoot()
          Root that was added
abstract  void veto()
          Remove this delta from the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SceneDelta

public SceneDelta()
Method Detail

getRoot

public abstract CompositeElement getRoot()
Root that was added


elements

public abstract Iterator elements()
Entries that were added but are not the root.


commit

public abstract void commit()
Commit the results of this delta to the scene.


veto

public abstract void veto()
Remove this delta from the database. This will remove the root and all of the children that were generated in this delta.


getConfidence

public abstract double getConfidence()
Get the confidence of the root of the delta.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.