public static class SceneDelta.Additive extends SceneDelta
SceneDelta.Additive, SceneDelta.Subtractive
Constructor and Description |
---|
Additive(Scene db,
TypedData data,
double confidence,
SceneElement[] elements)
Construct a new scene delta on the given database,
consisting of the given root that was added to the
database, as well as the
|
Additive(Scene db,
TypedData data,
double confidence,
SceneElement[] elements,
String[] names)
Construct a new scene delta on the given database,
consisting of the given root that was added to the
database, as well as the
|
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commit the results of this delta to the scene.
|
Iterator |
elements()
Entries that were added but are not the root.
|
double |
getConfidence()
Get the confidence of the root of the delta.
|
CompositeElement |
getRoot()
Root that was added
|
String |
toString() |
void |
veto()
Remove this delta from the database.
|
public Additive(Scene db, TypedData data, double confidence, SceneElement[] elements, String[] names)
public Additive(Scene db, TypedData data, double confidence, SceneElement[] elements)
public double getConfidence()
getConfidence
in class SceneDelta
public CompositeElement getRoot()
getRoot
in class SceneDelta
public Iterator elements()
elements
in class SceneDelta
public void commit()
commit
in class SceneDelta
public void veto()
veto
in class SceneDelta
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.