Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Factory functions for all Netzones
[simgrid.git] / src / kernel / routing / FloydZone.cpp
index 45b0d65..4fffad4 100644 (file)
@@ -169,4 +169,12 @@ void FloydZone::do_seal()
 }
 } // namespace routing
 } // namespace kernel
+
+namespace s4u {
+NetZone* createFloydZone(const std::string& name)
+{
+  return (new kernel::routing::FloydZone(name))->get_iface();
+}
+} // namespace s4u
+
 } // namespace simgrid