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

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

public class StratPartType
extends Strategy

StratPartType partitions Part equivalence classes based upon the Part's type.


Field Summary
 
Fields inherited from class com.sun.electric.tool.ncc.strategy.Strategy
CODE_ERROR, CODE_NO_CHANGE, depth, globals
 
Method Summary
 java.lang.Integer doFor(NetObject n)
          doFor(NetObject) tests the NetObject to decide its catagory.
static LeafList doYourJob(java.util.Set<Part> forcedMatchParts, NccGlobals globals)
           
 
Methods inherited from class com.sun.electric.tool.ncc.strategy.Strategy
doFor, 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 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.Set<Part> forcedMatchParts,
                                 NccGlobals globals)