action->set_last_update();
}
if (sg_weight_S_parameter > 0) {
action->weight_ =
std::accumulate(route.begin(), route.end(), action->weight_, [](double total, LinkImpl* const& link) {
action->set_last_update();
}
if (sg_weight_S_parameter > 0) {
action->weight_ =
std::accumulate(route.begin(), route.end(), action->weight_, [](double total, LinkImpl* const& link) {