com.sun.electric.tool.ncc.strategy
Class StratHashWires

java.lang.Object
  extended by com.sun.electric.tool.ncc.strategy.Strategy
      extended by com.sun.electric.tool.ncc.strategy.StratHashWires

public class StratHashWires
extends Strategy


Field Summary
 
Fields inherited from class com.sun.electric.tool.ncc.strategy.Strategy
CODE_ERROR, CODE_NO_CHANGE, depth, globals
 
Method Summary
 LeafList doFor(EquivRecord g)
          Method doFor(EquivRecord) processes a single EquivRecord.
 java.lang.Integer doFor(NetObject n)
          doFor(NetObject) tests the NetObject to decide its catagory.
static LeafList doYourJob(EquivRecord er, NccGlobals globals)
           
static LeafList doYourJob(java.util.Iterator<EquivRecord> it, NccGlobals globals)
           
 
Methods inherited from class com.sun.electric.tool.ncc.strategy.Strategy
doFor, doFor, doFor, elapsedTime, error, getDepth, offspringStats, startTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

doYourJob

public static LeafList doYourJob(java.util.Iterator<EquivRecord> it,
                                 NccGlobals globals)

doYourJob

public static LeafList doYourJob(EquivRecord er,
                                 NccGlobals globals)