return s4u::Link::SharingPolicy::WIFI;
}
+int NetworkWifiLink::get_host_count()
+{
+ return host_rates_.size();
+}
+
void NetworkWifiLink::refresh_decay_bandwidths(){
// Compute number of STAtion on the Access Point
- int nSTA = static_cast<int>(host_rates_.size());
+ int nSTA = get_host_count();
std::vector<Metric> new_bandwidths;
for (auto bandwidth : bandwidths_){