com.sun.electric.tool.ncc.strategy
Class StratDebug2
java.lang.Object
com.sun.electric.tool.ncc.strategy.Strategy
com.sun.electric.tool.ncc.strategy.StratDebug2
public class StratDebug2
- extends Strategy
StratDebug performs the debugging function of the day.
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 er)
Method doFor(EquivRecord) processes a single EquivRecord. |
java.lang.Integer |
doFor(NetObject n)
doFor(NetObject) tests the NetObject to decide its catagory. |
static void |
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 er)
- Description copied from class:
Strategy
- Method doFor(EquivRecord) processes a single EquivRecord.
- Overrides:
doFor
in class Strategy
- Parameters:
er
- 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 void doYourJob(NccGlobals globals)