Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / src / kernel / routing / EmptyZone.hpp
index ad8c7a3..90036ff 100644 (file)
@@ -12,13 +12,19 @@ namespace simgrid {
 namespace kernel {
 namespace routing {
 
-/** No specific routing. Mainly useful with the constant network model */
+/** @ingroup ROUTING_API
+ *  @brief NetZone with no routing, useful with the constant network model
+ *
+ *  Such netzones never contain any link, and the latency is always left unchanged:
+ *  the constant time network model computes this latency externally.
+ */
+
 class XBT_PRIVATE EmptyZone : public NetZoneImpl {
 public:
   explicit EmptyZone(NetZone* father, const char* name);
   ~EmptyZone() override;
 
-  void getLocalRoute(NetCard* src, NetCard* dst, sg_platf_route_cbarg_t into, double* latency) override;
+  void getLocalRoute(NetPoint* src, NetPoint* dst, sg_platf_route_cbarg_t into, double* latency) override;
   void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override;
 };
 }