com.sun.electric.tool.ncc.strategy
Class StratPortName
java.lang.Object
com.sun.electric.tool.ncc.strategy.Strategy
com.sun.electric.tool.ncc.strategy.StratPortName
public class StratPortName
- extends Strategy
StratPortName sorts all Wire EquivRecords on the frontier by
size. Starting with the smallest first, it finds the first
EquivRecord that splits due to Export names. It divides that
EquivRecord and returns the offspring EquivRecords.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doYourJob
public static LeafList doYourJob(NccGlobals globals)
doFor
public LeafList doFor(RecordList g)
- Description copied from class:
Strategy
- Apply this Strategy to a list of leaf and internal records.
- Overrides:
doFor
in class Strategy
- Parameters:
g
- a RecordList of EquivRecords to process
- Returns:
- a LeafList of the new leaf EquivRecords
doFor
public LeafList doFor(EquivRecord g)
- Description copied from class:
Strategy
- Method doFor(EquivRecord) processes a single EquivRecord.
- Overrides:
doFor
in class Strategy
- Parameters:
g
- the EquivRecord to process
- Returns:
- a LeafList of the new leaf EquivRecords
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.