Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a function returning an instance of fat tree
authorStéphane Castelli <stephane.castelli@loria.fr>
Tue, 13 May 2014 08:53:37 +0000 (10:53 +0200)
committerStéphane Castelli <stephane.castelli@loria.fr>
Tue, 13 May 2014 12:57:41 +0000 (14:57 +0200)
src/surf/surf_routing_cluster_fat_tree.cpp
src/surf/surf_routing_cluster_fat_tree.hpp

index 5733fd3..cfa9a5b 100644 (file)
@@ -8,6 +8,10 @@
 
 
 
+AS_t model_fatTree_cluster_create(void) {
+  return new AsClusterFatTree();
+}
+
 AsClusterFatTree::AsClusterFatTree() : levels(0) {}
 
 AsClusterFatTree::~AsClusterFatTree() {
index edc48f1..7d5b215 100644 (file)
@@ -10,6 +10,8 @@
 #define SURF_ROUTING_CLUSTER_FAT_TREE_HPP_
 
 
+AS_t model_fatTree_cluster_create(void);
+
 /* The class AsClusterFatTree describes PGFT, as introduced by Eitan Zahavi
  * in "D-Mod-K Routing Providing Non-Blocking Traffic for Shift Permutations
  * on Real Life Fat Trees" (2010). RLFT are PGFT with some restrictions to