public class Edge extends PropertyContainer implements Cloneable
Topology| Constructor and Description |
|---|
Edge()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Edge |
clone()
Return a copy of this object
|
float |
getBufferSize()
Get the size of the buffer associated to this link
|
float |
getCapacity()
Return the capacity of the link.
|
float |
getDelay()
Return the delay of the link, without the time unit.
|
float |
getLength()
Return the length of the link
|
float |
getWeight()
Return the weight of the link
|
void |
setBufferSize(float bufferSize)
Set the size of the buffer associated to this link
|
void |
setCapacity(float capacity)
Set the capacity of the link
|
void |
setDelay(float delay)
Set the link delay
|
void |
setLength(float length)
Set the length of the link
|
void |
setWeight(float weight)
Set the weight of the link
|
getAllProperties, getProperty, hasProperty, removeProperty, setPropertypublic float getCapacity()
Topology.getCapacityUnit()public void setCapacity(float capacity)
capacity - the capacity to setpublic float getWeight()
public void setWeight(float weight)
weight - the weight to setpublic float getDelay()
Topology.getDelayUnit()public void setDelay(float delay)
delay - the delay to setpublic float getBufferSize()
Topology.getBufferUnit()public void setBufferSize(float bufferSize)
bufferSize - the bufferSize to setpublic float getLength()
public void setLength(float length)
length - the length to setpublic Edge clone()
clone in class PropertyContainer