com.sun.electric.tool.ncc
Class PassedNcc

java.lang.Object
  extended by com.sun.electric.tool.ncc.PassedNcc

public class PassedNcc
extends java.lang.Object

Cell pairs that have already passed NCC. PassedNcc is used to implement NCC's incremental mode: check only cells that have changed since the last NCC.


Constructor Summary
PassedNcc()
           
 
Method Summary
 boolean getPassed(Cell c1, Cell c2)
          Did Cells c1 and c2 match the last time NCC was run?
 void removeCellsChangedSinceLastNccRun(CellContext[] cellContexts)
          Purge all Cells that the user changed since the last NCC run.
 void setPassed(Cell c1, Cell c2)
          Remember that Cells c1 and c2 have passed NCC and are therefore topologically identical
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassedNcc

public PassedNcc()
Method Detail

setPassed

public void setPassed(Cell c1,
                      Cell c2)
Remember that Cells c1 and c2 have passed NCC and are therefore topologically identical


getPassed

public boolean getPassed(Cell c1,
                         Cell c2)
Did Cells c1 and c2 match the last time NCC was run?

Parameters:
c1 - Cell one
c2 - Cell two
Returns:
true if Cells c1 and c2 matched the last time NCC was run. Therefore it is safe to assume that c1 and c2 are topologically identical.

removeCellsChangedSinceLastNccRun

public void removeCellsChangedSinceLastNccRun(CellContext[] cellContexts)
Purge all Cells that the user changed since the last NCC run. Then record the time of this new NCC Run.