- std::vector<NetworkLink> linksUp; // From source to destination
- std::vector<NetworkLink> linksDown; // From destination to source
- FatTreeNode source;
- FatTreeNode destination;
- FatTreeLink(int source, int destination, unsigned int ports = 0);
+ std::vector<s_sg_platf_link_cbarg_t> linksUp; // From source to destination
+ std::vector<s_sg_platf_link_cbarg_t> linksDown; // From destination to source
+ /* As it is symetric, it might as well be first / second instead
+ * of source / destination
+ */
+ FatTreeNode *source;
+ FatTreeNode *destination;
+ //FatTreeLink(FatTreeNode *source, FatTreeNode *destination, unsigned int ports = 0);