com.sun.electric.tool.ncc.strategy
Class StratCheckSizes
java.lang.Object
com.sun.electric.tool.ncc.strategy.Strategy
com.sun.electric.tool.ncc.strategy.StratCheckSizes
public class StratCheckSizes
- extends Strategy
Check that corresponding transistors in the schematic and layout
have the same channel widths and lengths.
Method Summary |
java.util.HashMap<java.lang.Integer,java.util.List<NetObject>> |
doFor(Circuit c)
Method doFor(Circuit) process a single Circuit,
dividing the circuit according to this strategy, and
placing the NetObjects of the Circuit into new Circuits
mapped in the return according to the separation Integer. |
LeafList |
doFor(EquivRecord j)
Method doFor(EquivRecord) processes a single EquivRecord. |
java.lang.Integer |
doFor(NetObject n)
doFor(NetObject) tests the NetObject to decide its catagory. |
static boolean |
doYourJob(NccGlobals globals)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doFor
public LeafList doFor(EquivRecord j)
- Description copied from class:
Strategy
- Method doFor(EquivRecord) processes a single EquivRecord.
- Overrides:
doFor
in class Strategy
- Parameters:
j
- the EquivRecord to process
- Returns:
- a LeafList of the new leaf EquivRecords
doFor
public java.util.HashMap<java.lang.Integer,java.util.List<NetObject>> doFor(Circuit c)
- Description copied from class:
Strategy
- Method doFor(Circuit) process a single Circuit,
dividing the circuit according to this strategy, and
placing the NetObjects of the Circuit into new Circuits
mapped in the return according to the separation Integer.
- Overrides:
doFor
in class Strategy
- Parameters:
c
- the Circuit to process.
- Returns:
- a CircuitMap of offspring Circuits.
Returns an empty map if no offspring intended, and
returns the input input Circuit if method fails to split.
doFor
public java.lang.Integer doFor(NetObject n)
- Description copied from class:
Strategy
- doFor(NetObject) tests the NetObject to decide its catagory.
The default method generates no offspring.
- Overrides:
doFor
in class Strategy
- Parameters:
n
- the NetObject to catagorize
- Returns:
- an Integer for the choice.
doYourJob
public static boolean doYourJob(NccGlobals globals)