public static class SceneDelta.Subtractive extends SceneDelta
SceneDelta.Additive, SceneDelta.Subtractive
Constructor and Description |
---|
Subtractive(Scene db,
CompositeElement root)
Construct a new scene delta on the given database,
consisting of the given root that was added to the
database, as well as the
|
Subtractive(Scene db,
CompositeElement root,
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
|
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 Subtractive(Scene db, CompositeElement root, SceneElement[] elements)
public Subtractive(Scene db, CompositeElement root)
public void commit()
commit
in class SceneDelta
public double getConfidence()
getConfidence
in class SceneDelta
public CompositeElement getRoot()
getRoot
in class SceneDelta
public Iterator elements()
elements
in class SceneDelta
public void veto()
veto
in class SceneDelta
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.