}
return true;
}
+
void AsClusterFatTree::getRouteAndLatency(RoutingEdgePtr src,
RoutingEdgePtr dst,
sg_platf_route_cbarg_t into,
source = this->nodes.find(src->getId())->second;
destination = this->nodes.find(dst->getId())->second;
- int d, k; // as in d-mod-k
+ int d = 0, k = 0; // as in d-mod-k
currentNode = source;