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
small cleanups in routing
[simgrid.git]
/
src
/
surf
/
surf_routing_none.cpp
diff --git
a/src/surf/surf_routing_none.cpp
b/src/surf/surf_routing_none.cpp
index
34e817c
..
cfb4587
100644
(file)
--- a/
src/surf/surf_routing_none.cpp
+++ b/
src/surf/surf_routing_none.cpp
@@
-31,35
+31,5
@@
void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*
{
XBT_INFO("No routing no graph");
}
-
-sg_platf_route_cbarg_t AsNone::getBypassRoute(NetCard * /*src*/, NetCard * /*dst*/, double * /*lat*/) {
- return NULL;
-}
-
-int AsNone::parsePU(NetCard *elm) {
- XBT_DEBUG("Load process unit \"%s\"", elm->getName());
- xbt_dynar_push_as(p_indexNetworkElm, NetCard*, elm);
- /* don't care about PUs */
- return -1;
-}
-
-int AsNone::parseAS(NetCard *elm) {
- XBT_DEBUG("Load Autonomous system \"%s\"", elm->getName());
- xbt_dynar_push_as(p_indexNetworkElm, NetCard*, elm);
- /* even don't care about sub-ASes -- I'm as nihilist as an old punk*/
- return -1;
-}
-
-void AsNone::parseRoute(sg_platf_route_cbarg_t /*route*/){
- THROW_IMPOSSIBLE; /* No. */
-}
-
-void AsNone::parseASroute(sg_platf_route_cbarg_t /*route*/){
- THROW_IMPOSSIBLE;
-}
-void AsNone::parseBypassroute(sg_platf_route_cbarg_t /*e_route*/){
- THROW_IMPOSSIBLE;
-}
-
}
}