Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simplify writing in model setup + may fix issue with unit-tests
[simgrid.git] / src / surf / network_smpi.hpp
index b5fa658..cd2133d 100644 (file)
@@ -17,14 +17,17 @@ namespace resource {
 
 class XBT_PRIVATE NetworkSmpiModel : public NetworkCm02Model {
 public:
-  NetworkSmpiModel();
+  using NetworkCm02Model::NetworkCm02Model;
 
   double get_latency_factor(double size) override;
   double get_bandwidth_factor(double size) override;
-  double get_bandwidth_constraint(double rate, double bound, double size) override;
+
+protected:
+  void check_lat_factor_cb() override;
+  void check_bw_factor_cb() override;
 };
 } // namespace resource
 } // namespace kernel
-}
+} // namespace simgrid
 
 #endif