23 const float &weight = 0,
void setBufferSize(const Quantity &bufferSize)
Definition: edge.cpp:39
Quantity getDelay() const
Definition: edge.cpp:27
Edge(const Quantity &capacity=Quantity("1Mbps", Units::Bandwidth), const Quantity &delay=Quantity("1ms", Units::Time), const float &weight=0, const Quantity &bufferSize=Quantity("10 packets", Units::BufferSize))
Definition: edge.cpp:5
void setDelay(const Quantity &delay)
Definition: edge.cpp:31
void setWeight(float weight)
Definition: edge.cpp:23
float getWeight() const
Definition: edge.cpp:19
void setCapacity(const Quantity &capacity)
Definition: edge.cpp:15
Quantity getBufferSize() const
Definition: edge.cpp:35
Quantity getCapacity() const
Definition: edge.cpp:11
Definition: quantity.h:16