Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
you can overwrite part of a file without mofiying its size
[simgrid.git] / src / surf / surf_routing_cluster_fat_tree.hpp
index 2f924ad..2180d06 100644 (file)
@@ -1,14 +1,14 @@
-/* Copyright (c) 2014. The SimGrid Team.
+/* Copyright (c) 2014-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "surf_routing_cluster.hpp"
-
 #ifndef SURF_ROUTING_CLUSTER_FAT_TREE_HPP_
 #define SURF_ROUTING_CLUSTER_FAT_TREE_HPP_
 
+#include "surf_routing_cluster.hpp"
+
 
 /** \file surf_routing_cluster_fat_tree.cpp
  *  The class AsClusterFatTree describes PGFT, as introduced by Eitan Zahavi
@@ -52,11 +52,11 @@ public:
 
   /** Virtual link standing for the node global capacity.
    */
-  NetworkLink* limiterLink;
+  Link* limiterLink;
   /** If present, communications from this node to this node will pass through it
    * instead of passing by an upper level switch.
    */
-  NetworkLink* loopback;
+  Link* loopback;
   FatTreeNode(sg_platf_cluster_cbarg_t cluster, int id, int level,
               int position);
 };
@@ -74,10 +74,10 @@ public:
               FatTreeNode *destination);
   /** Link going up in the tree
    */
-  NetworkLink *upLink; 
+  Link *upLink; 
   /** Link going down in the tree
    */
-  NetworkLink *downLink;
+  Link *downLink;
   /** Upper end of the link
    */
   FatTreeNode *upNode;
@@ -111,7 +111,7 @@ class AsClusterFatTree : public AsCluster {
 public:
   AsClusterFatTree();
   ~AsClusterFatTree();
-  virtual void getRouteAndLatency(RoutingEdgePtr src, RoutingEdgePtr dst,
+  virtual void getRouteAndLatency(RoutingEdge *src, RoutingEdge *dst,
                                   sg_platf_route_cbarg_t into,
                                   double *latency);