#include <vector>
#include <iostream>
-#include "src/surf/surf_routing_private.hpp"
#include "src/surf/surf_routing_cluster_fat_tree.hpp"
#include "xbt/lib.h"
std::map<int, FatTreeNode*>::const_iterator tempIter;
-if (dst->getRcType() == SURF_NETWORK_ELEMENT_ROUTER || src->getRcType() == SURF_NETWORK_ELEMENT_ROUTER) return;
+ if (dst->isRouter() || src->isRouter())
+ return;
/* Let's find the source and the destination in our internal structure */
tempIter = this->computeNodes_.find(src->id());