* @param latency The initial latency of the Link in seconds
* @param policy The sharing policy of the Link
*/
* @param latency The initial latency of the Link in seconds
* @param policy The sharing policy of the Link
*/
- virtual LinkImpl* create_link(const std::string& name, double bandwidth, double latency,
+ virtual LinkImpl* create_link(const std::string& name, const std::vector<double>& bandwidths, double latency,
* @return The new bandwidth.
*/
virtual double get_bandwidth_constraint(double rate, double bound, double size);
* @return The new bandwidth.
*/
virtual double get_bandwidth_constraint(double rate, double bound, double size);
*/
class LinkImpl : public Resource, public surf::PropertyHolder {
bool currently_destroying_ = false;
*/
class LinkImpl : public Resource, public surf::PropertyHolder {
bool currently_destroying_ = false;