X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1c7dbc7e7255bc670c53414593e9fbdf5b366c1d..e83a6a62aac54e3477bd15c64f243cfa23b3add3:/src/surf/ptask_L07.cpp diff --git a/src/surf/ptask_L07.cpp b/src/surf/ptask_L07.cpp index 22b73e9c5b..9338334758 100644 --- a/src/surf/ptask_L07.cpp +++ b/src/surf/ptask_L07.cpp @@ -165,7 +165,7 @@ L07Action::L07Action(kernel::resource::Model* model, int host_nb, sg_host_t* hos double lat=0.0; std::vector route; - hostList_->at(i)->routeTo(hostList_->at(j), route, &lat); + hostList_->at(i)->route_to(hostList_->at(j), route, &lat); latency = std::max(latency, lat); for (auto const& link : route) @@ -193,7 +193,7 @@ L07Action::L07Action(kernel::resource::Model* model, int host_nb, sg_host_t* hos for (int j = 0; j < host_nb; j++) { if (bytes_amount[i * host_nb + j] > 0.0) { std::vector route; - hostList_->at(i)->routeTo(hostList_->at(j), route, nullptr); + hostList_->at(i)->route_to(hostList_->at(j), route, nullptr); for (auto const& link : route) model->get_maxmin_system()->expand_add(link->get_constraint(), this->get_variable(), @@ -394,7 +394,7 @@ void L07Action::updateBound() if (communicationAmount_[i * hostNb + j] > 0) { double lat = 0.0; std::vector route; - hostList_->at(i)->routeTo(hostList_->at(j), route, &lat); + hostList_->at(i)->route_to(hostList_->at(j), route, &lat); lat_current = std::max(lat_current, lat * communicationAmount_[i * hostNb + j]); }