public class NetWrapper
extends Object
Net
with additional information for the router.Constructor and Description |
---|
NetWrapper(int id,
Net net) |
Modifier and Type | Method and Description |
---|---|
void |
addConnection(Connection connection) |
void |
computeHPWLAndCenterCoordinates() |
List<Connection> |
getConnections() |
short |
getDoubleHpwl() |
int |
getId() |
Net |
getNet() |
float |
getXCenter() |
float |
getYCenter() |
int |
hashCode() |
boolean |
isSourceChanged() |
void |
setDoubleHpwl(short hpwl) |
void |
setSourceChanged(boolean sourceChanged) |
void |
setXCenter(float xCenter) |
void |
setYCenter(float yCenter) |
public NetWrapper(int id, Net net)
public void computeHPWLAndCenterCoordinates()
public Net getNet()
public int getId()
public void addConnection(Connection connection)
public List<Connection> getConnections()
public short getDoubleHpwl()
public void setDoubleHpwl(short hpwl)
public boolean isSourceChanged()
public void setSourceChanged(boolean sourceChanged)
public float getYCenter()
public void setYCenter(float yCenter)
public float getXCenter()
public void setXCenter(float xCenter)
public int hashCode()
hashCode
in class Object