public class SnapshotAnalyze
extends java.lang.Object
Constructor and Description |
---|
SnapshotAnalyze(Snapshot oldSnapshot,
Snapshot newSnapshot)
Constructor analyzes nodes and arcs that changed between two snapshots.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<CellId> |
changedCells()
Method to return the Cells that changed.
|
static java.lang.String |
describeImmutableObject(Cell cell,
ImmutableElectricObject obj) |
void |
dumpChanges()
Method to print the changes recorded in this SnapshotAnalyze.
|
java.util.Set<ImmutableElectricObject> |
getAdded(CellId cid)
Method to return a List of objects that were added in a given Cell.
|
java.util.Set<CellId> |
getChangedExportCells()
Method to return a List of Cells that had export changes.
|
java.util.Set<CellId> |
getChangedVariableCells()
Method to return a List of Cells that had variable changes.
|
java.util.List<CellId> |
getDeletedCells()
Method to return a List of Cells that were deleted.
|
Snapshot |
getNewSnapshot() |
java.util.Set<ImmutableElectricObject> |
getRemoved(CellId cid)
Method to return a List of objects that were deleted from a given Cell.
|
java.util.Set<CellId> |
sizeChangedCells()
Method to return the Cells that changed size.
|
public Snapshot getNewSnapshot()
public java.util.Set<CellId> changedCells()
public java.util.Set<CellId> sizeChangedCells()
public java.util.Set<ImmutableElectricObject> getAdded(CellId cid)
cid
- the CellId of the Cell in question.public java.util.Set<ImmutableElectricObject> getRemoved(CellId cid)
cid
- the CellId of the Cell in question.public java.util.List<CellId> getDeletedCells()
public java.util.Set<CellId> getChangedExportCells()
public java.util.Set<CellId> getChangedVariableCells()
public void dumpChanges()
public static java.lang.String describeImmutableObject(Cell cell, ImmutableElectricObject obj)