/** @brief Hold every rates association between host and links (host name, rates id) */
std::map<xbt::string, int> host_rates_;
- /** @brief A link can have several bandwith attach to it (mostly use by wifi model) */
+ /** @brief A link can have several bandwidths attached to it (mostly use by wifi model) */
std::vector<Metric> bandwidths_;
/** @brief Should we use the decay model ? */
/** @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 {