A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give a default value at field declaration, not everywhere in subclasses
[simgrid.git]
/
src
/
surf
/
surf_routing_cluster_fat_tree.hpp
diff --git
a/src/surf/surf_routing_cluster_fat_tree.hpp
b/src/surf/surf_routing_cluster_fat_tree.hpp
index
91a2c46
..
8aae47c
100644
(file)
--- a/
src/surf/surf_routing_cluster_fat_tree.hpp
+++ b/
src/surf/surf_routing_cluster_fat_tree.hpp
@@
-7,10
+7,16
@@
#ifndef SURF_ROUTING_CLUSTER_FAT_TREE_HPP_
#define SURF_ROUTING_CLUSTER_FAT_TREE_HPP_
#ifndef SURF_ROUTING_CLUSTER_FAT_TREE_HPP_
#define SURF_ROUTING_CLUSTER_FAT_TREE_HPP_
+#include <string>
+#include <map>
+#include <vector>
+
#include <xbt/base.h>
#include "surf_routing_cluster.hpp"
#include <xbt/base.h>
#include "surf_routing_cluster.hpp"
+namespace simgrid {
+namespace surf {
/** \file surf_routing_cluster_fat_tree.cpp
* The class AsClusterFatTree describes PGFT, as introduced by Eitan Zahavi
/** \file surf_routing_cluster_fat_tree.cpp
* The class AsClusterFatTree describes PGFT, as introduced by Eitan Zahavi
@@
-132,7
+138,7
@@
public:
/** \brief Add a processing node.
*/
void addProcessingNode(int id);
/** \brief Add a processing node.
*/
void addProcessingNode(int id);
- void generateDotFile(const string& filename = "fatTree.dot") const;
+ void generateDotFile(const st
d::st
ring& filename = "fatTree.dot") const;
private:
private:
@@
-158,4
+164,8
@@
private:
bool areRelated(FatTreeNode *parent, FatTreeNode *child);
bool isInSubTree(FatTreeNode *root, FatTreeNode *node);
};
bool areRelated(FatTreeNode *parent, FatTreeNode *child);
bool isInSubTree(FatTreeNode *root, FatTreeNode *node);
};
+
+}
+}
+
#endif
#endif