- FatTreeLink(int source, int destination, unsigned int ports = 0);
- NetworkLink getLink(int number = 0) const;
+ FatTreeLink(sg_platf_cluster_cbarg_t cluster, FatTreeNode *source,
+ FatTreeNode *destination);
+ // unsigned int ports;
+ /* Links are dependant of the chosen network model, but must implement
+ * NetworkLink
+ */
+ NetworkLink* linkUp; // From source to destination
+ NetworkLink* linkDown; // From destination to source
+ /* As it is symetric, it might as well be first / second instead
+ * of source / destination
+ */
+ FatTreeNode *source;
+ FatTreeNode *destination;