- ~NetworkL07Model();
- kernel::resource::LinkImpl* create_link(const std::string& name, const std::vector<double>& bandwidths,
- double latency, s4u::Link::SharingPolicy policy) override;
-
- kernel::resource::Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
-
- HostL07Model *hostModel_;
+ ~NetworkL07Model() override;
+ StandardLinkImpl* create_link(const std::string& name, const std::vector<double>& bandwidths) final;
+ StandardLinkImpl* create_wifi_link(const std::string& name, const std::vector<double>& bandwidths) override;
+
+ Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
+ void update_actions_state(double /*now*/, double /*delta*/) override{
+ /* this action is done by HostL07Model which shares the LMM system with the CPU model
+ * Overriding to an empty function here allows us to handle the Cpu07Model as a regular
+ * method in EngineImpl::presolve */
+ };
+
+ HostL07Model* hostModel_;