- NetworkNS3Model();
- ~NetworkNS3Model();
- LinkImpl* createLink(const std::string& name, double bandwidth, double latency,
- s4u::Link::SharingPolicy policy) override;
- kernel::resource::Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
- double next_occuring_event(double now) override;
- bool next_occuring_event_is_idempotent() override { return false; }
+ explicit NetworkNS3Model(const std::string& name);
+ ~NetworkNS3Model() override;
+ StandardLinkImpl* create_link(const std::string& name, const std::vector<double>& bandwidth) override;
+ StandardLinkImpl* create_wifi_link(const std::string& name, const std::vector<double>& bandwidth) override;
+ Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
+ double next_occurring_event(double now) override;
+ bool next_occurring_event_is_idempotent() override { return false; }