X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c8bcfe7ac56e69ba55d4797455a6b637baeec83e..ebbdc928150e0dda1fffe5d4ab6edab9d1981904:/src/surf/surf_routing_cluster_fat_tree.hpp diff --git a/src/surf/surf_routing_cluster_fat_tree.hpp b/src/surf/surf_routing_cluster_fat_tree.hpp index 46eb9a0557..7aaf9b1f30 100644 --- a/src/surf/surf_routing_cluster_fat_tree.hpp +++ b/src/surf/surf_routing_cluster_fat_tree.hpp @@ -53,7 +53,7 @@ public: ~AsClusterFatTree(); virtual void getRouteAndLatency(RoutingEdgePtr src, RoutingEdgePtr dst, sg_platf_route_cbarg_t into, - double *latency) const; + double *latency); // virtual void getRouteAndLatency(const int src, const int dst, // std::vector *route, // double *latency) const; @@ -64,16 +64,16 @@ public: protected: //description of a PGFT (TODO : better doc) - int levels; + unsigned int levels; std::vector lowerLevelNodesNumber; std::vector upperLevelNodesNumber; std::vector lowerLevelPortsNumber; std::vector nodes; std::map, FatTreeLink*> links; - std::vector nodesByLevel; + std::vector nodesByLevel; void addLink(FatTreeNode *parent, FatTreeNode *child); - void getLevelPosition(const int level, int &position, int &size); + void getLevelPosition(const unsigned int level, int &position, int &size); }; #endif