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
unPERLifies a bit the routing: use the object, not its name
[simgrid.git]
/
include
/
simgrid
/
s4u
/
As.hpp
diff --git
a/include/simgrid/s4u/As.hpp
b/include/simgrid/s4u/As.hpp
index
6758f4e
..
72921f9
100644
(file)
--- a/
include/simgrid/s4u/As.hpp
+++ b/
include/simgrid/s4u/As.hpp
@@
-58,15
+58,16
@@
public:
void addBypassRoute(sg_platf_route_cbarg_t e_route);
protected:
void addBypassRoute(sg_platf_route_cbarg_t e_route);
protected:
- As* father_ = nullptr;
- char *name_ = nullptr;
- xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr); // sub-ASes
std::vector<kernel::routing::NetCard*> vertices_; // our content, as known to our graph routing algorithm (maps vertexId -> vertex)
std::vector<kernel::routing::NetCard*> vertices_; // our content, as known to our graph routing algorithm (maps vertexId -> vertex)
- std::map<std::pair<std::string, std::string>, std::vector<surf::Link*>*> bypassRoutes_; // srcName x dstName -> route
-
private:
private:
+ As* father_ = nullptr;
+ char* name_ = nullptr;
+
bool sealed_ = false; // We cannot add more content when sealed
bool sealed_ = false; // We cannot add more content when sealed
+
+ std::map<std::pair<kernel::routing::NetCard*, kernel::routing::NetCard*>, std::vector<surf::Link*>*> bypassRoutes_; // src x dst -> route
+ xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr); // sub-ASes
};
}}; // Namespace simgrid::s4u
};
}}; // Namespace simgrid::s4u