Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define const get_sharing_policy().
[simgrid.git] / src / surf / network_wifi.hpp
index 08699dcee280928648c6d6bae7acb13ecf1a1b3d..c5111e45c07c61e11a115e5d3948a49ba09f8148 100644 (file)
@@ -49,12 +49,13 @@ public:
   /** @brief Get the AP rate associated to the host (or -1 if not associated to the AP) */
   double get_host_rate(const s4u::Host* host);
 
-  s4u::Link::SharingPolicy get_sharing_policy() override;
+  s4u::Link::SharingPolicy get_sharing_policy() const override;
   void apply_event(kernel::profile::Event*, double) override { THROW_UNIMPLEMENTED; }
   void set_bandwidth(double) override { THROW_UNIMPLEMENTED; }
   void set_latency(double) override { THROW_UNIMPLEMENTED; }
   void refresh_decay_bandwidths();
   bool toggle_decay_model();
+  int get_host_count();
 };
 
 class NetworkWifiAction : public NetworkCm02Action {