public class FastDelta extends Object implements Proof.Delta
| Modifier and Type | Class and Description |
|---|---|
static class |
FastDelta.Set |
| Modifier and Type | Field and Description |
|---|---|
static FastDelta |
EMPTY_DELTA |
static FastDelta.Set |
EMPTY_SET |
| Constructor and Description |
|---|
FastDelta() |
FastDelta(FastDelta.Set additions,
FastDelta.Set removals) |
| Modifier and Type | Method and Description |
|---|---|
FastDelta |
add(Formula truth)
Add a new formula to this delta
|
FastDelta |
apply(Proof.Delta delta)
Apply a given delta on top of this one.
|
FastDelta.Set |
getAdditions()
Get the set of truths added to this delta
|
FastDelta.Set |
getRemovals()
Get the set of truths removed from this delta
|
boolean |
isAddition(Formula truth)
Check whether or not a given formula is in the additions set
|
boolean |
isRemoval(Formula truth)
Check whether or not a given formula is in the removals set
|
FastDelta |
remove(Formula truth)
Remove a truth from this delta (e.g.
|
String |
toString() |
public static final FastDelta.Set EMPTY_SET
public static final FastDelta EMPTY_DELTA
public FastDelta()
public FastDelta(FastDelta.Set additions, FastDelta.Set removals)
public boolean isAddition(Formula truth)
Proof.DeltaisAddition in interface Proof.Deltapublic boolean isRemoval(Formula truth)
Proof.DeltaisRemoval in interface Proof.Deltapublic FastDelta.Set getAdditions()
Proof.DeltagetAdditions in interface Proof.Deltapublic FastDelta.Set getRemovals()
Proof.DeltagetRemovals in interface Proof.Deltapublic FastDelta add(Formula truth)
Proof.Deltaadd in interface Proof.Deltapublic FastDelta remove(Formula truth)
Proof.Deltaremove in interface Proof.Deltapublic FastDelta apply(Proof.Delta delta)
Proof.Deltaapply in interface Proof.DeltaCopyright © 2017. All rights reserved.