X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/53614cf4c0d54920e9214f6ecc7c1149eb843b20..750a10299dfb858b9b7ce14714fac19f5af9483d:/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 1c39826b4b..1430c43bfb 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; @@ -65,15 +65,15 @@ public: protected: //description of a PGFT (TODO : better doc) unsigned int levels; - std::vector lowerLevelNodesNumber; - std::vector upperLevelNodesNumber; + std::vector lowerLevelNodesNumber; // number of children by node + std::vector upperLevelNodesNumber; // number of parents by node 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