com.sun.electric.tool.generator.flag.router
Class Track
java.lang.Object
com.sun.electric.tool.generator.flag.router.Track
public class Track
- extends java.lang.Object
Constructor Summary |
Track(double coord,
Channel channel,
int trackNdx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Track
public Track(double coord,
Channel channel,
int trackNdx)
isAvailable
public boolean isAvailable(double min,
double max)
allocate
public Segment allocate(double min,
double max)
allocateBiggest
public Segment allocateBiggest(double min,
double src,
double max)
- Allocate longest segment within the interval [min, max] that
covers src.
isHorizontal
public boolean isHorizontal()
getCenter
public double getCenter()
getIndex
public int getIndex()
resort
public void resort(Segment s)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object