com.sun.electric.tool.routing
Class SeaOfGates.NetsToRouteByLength

java.lang.Object
  extended by com.sun.electric.tool.routing.SeaOfGates.NetsToRouteByLength
All Implemented Interfaces:
java.util.Comparator<com.sun.electric.tool.routing.SeaOfGates.NetsToRoute>
Enclosing class:
SeaOfGates

public static class SeaOfGates.NetsToRouteByLength
extends java.lang.Object
implements java.util.Comparator<com.sun.electric.tool.routing.SeaOfGates.NetsToRoute>

Comparator class for sorting NetsToRoute by their length and power/ground usage.


Constructor Summary
SeaOfGates.NetsToRouteByLength()
           
 
Method Summary
 int compare(com.sun.electric.tool.routing.SeaOfGates.NetsToRoute ntr1, com.sun.electric.tool.routing.SeaOfGates.NetsToRoute ntr2)
          Method to sort NetsToRoute by their length and power/ground usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

SeaOfGates.NetsToRouteByLength

public SeaOfGates.NetsToRouteByLength()
Method Detail

compare

public int compare(com.sun.electric.tool.routing.SeaOfGates.NetsToRoute ntr1,
                   com.sun.electric.tool.routing.SeaOfGates.NetsToRoute ntr2)
Method to sort NetsToRoute by their length and power/ground usage.

Specified by:
compare in interface java.util.Comparator<com.sun.electric.tool.routing.SeaOfGates.NetsToRoute>