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
move surf::As to s4u::As
[simgrid.git]
/
src
/
surf
/
surf_routing_full.hpp
diff --git
a/src/surf/surf_routing_full.hpp
b/src/surf/surf_routing_full.hpp
index
77debc1
..
0abbae3
100644
(file)
--- a/
src/surf/surf_routing_full.hpp
+++ b/
src/surf/surf_routing_full.hpp
@@
-9,7
+9,7
@@
#include <xbt/base.h>
#include <xbt/base.h>
-#include "surf_routing_
generic
.hpp"
+#include "surf_routing_
RoutedGraph
.hpp"
namespace simgrid {
namespace surf {
namespace simgrid {
namespace surf {
@@
-19,19
+19,18
@@
namespace surf {
***********/
class XBT_PRIVATE AsFull;
***********/
class XBT_PRIVATE AsFull;
-class AsFull: public AsGeneric {
+/** Full routing: fast, large memory requirements, fully expressive */
+class AsFull: public AsRoutedGraph {
public:
public:
- AsFull(
) {}
+ AsFull(
const char*name);
void Seal() override;
~AsFull();
void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
void Seal() override;
~AsFull();
void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
- xbt_dynar_t getOneLinkRoutes() override;
- void parseRoute(sg_platf_route_cbarg_t route) override;
- void parseASroute(sg_platf_route_cbarg_t route) override;
+ void addRoute(sg_platf_route_cbarg_t route) override;
- sg_platf_route_cbarg_t *
p_routingTable
= nullptr;
+ sg_platf_route_cbarg_t *
routingTable_
= nullptr;
};
}
};
}