Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Renaming, snake_case
authorBruno Donassolo <bruno.donassolo@inria.fr>
Thu, 1 Apr 2021 17:25:15 +0000 (19:25 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Thu, 1 Apr 2021 17:27:23 +0000 (19:27 +0200)
include/simgrid/s4u/NetZone.hpp
src/kernel/routing/ClusterZone.cpp
src/kernel/routing/DijkstraZone.cpp
src/kernel/routing/DragonflyZone.cpp
src/kernel/routing/EmptyZone.cpp
src/kernel/routing/FatTreeZone.cpp
src/kernel/routing/FloydZone.cpp
src/kernel/routing/FullZone.cpp
src/kernel/routing/TorusZone.cpp
src/kernel/routing/VivaldiZone.cpp
src/kernel/routing/WifiZone.cpp

index 222afc1..4d00516 100644 (file)
@@ -104,16 +104,16 @@ public:
 };
 
 // External constructors so that the types (and the types of their content) remain hidden
-XBT_PUBLIC NetZone* createFullZone(const std::string& name);
-XBT_PUBLIC NetZone* createClusterZone(const std::string& name);
-XBT_PUBLIC NetZone* createDijkstraZone(const std::string& name, bool cache);
-XBT_PUBLIC NetZone* createDragonflyZone(const std::string& name);
-XBT_PUBLIC NetZone* createEmptyZone(const std::string& name);
-XBT_PUBLIC NetZone* createFatTreeZone(const std::string& name);
-XBT_PUBLIC NetZone* createFloydZone(const std::string& name);
-XBT_PUBLIC NetZone* createTorusZone(const std::string& name);
-XBT_PUBLIC NetZone* createVivaldiZone(const std::string& name);
-XBT_PUBLIC NetZone* createWifiZone(const std::string& name);
+XBT_PUBLIC NetZone* create_full_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_cluster_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_dijkstra_zone(const std::string& name, bool cache);
+XBT_PUBLIC NetZone* create_dragonfly_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_empty_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_fatTree_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_floyd_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_torus_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_vivaldi_zone(const std::string& name);
+XBT_PUBLIC NetZone* create_wifi_zone(const std::string& name);
 
 } // namespace s4u
 } // namespace simgrid
index 0df128e..1084377 100644 (file)
@@ -163,7 +163,7 @@ void ClusterZone::create_links_for_node(ClusterCreationArgs* cluster, int id, in
 } // namespace kernel
 
 namespace s4u {
-NetZone* createClusterZone(const std::string& name)
+NetZone* create_cluster_zone(const std::string& name)
 {
   return (new kernel::routing::ClusterZone(name))->get_iface();
 }
index 1c6d30f..4a6a2ad 100644 (file)
@@ -260,7 +260,7 @@ void DijkstraZone::new_edge(int src_id, int dst_id, RouteCreationArgs* route)
 } // namespace kernel
 
 namespace s4u {
-NetZone* createDijkstraZone(const std::string& name, bool cache)
+NetZone* create_dijkstra_zone(const std::string& name, bool cache)
 {
   return (new kernel::routing::DijkstraZone(name, cache))->get_iface();
 }
index 6fbc551..d06e6a7 100644 (file)
@@ -348,7 +348,7 @@ void DragonflyZone::get_local_route(NetPoint* src, NetPoint* dst, RouteCreationA
 } // namespace kernel
 
 namespace s4u {
-NetZone* createDragonflyZone(const std::string& name)
+NetZone* create_dragonfly_zone(const std::string& name)
 {
   return (new kernel::routing::DragonflyZone(name))->get_iface();
 }
index 229caf0..e33e1af 100644 (file)
@@ -24,7 +24,7 @@ void EmptyZone::get_graph(const s_xbt_graph_t* /*graph*/, std::map<std::string,
 } // namespace kernel
 
 namespace s4u {
-NetZone* createEmptyZone(const std::string& name)
+NetZone* create_empty_zone(const std::string& name)
 {
   return (new kernel::routing::EmptyZone(name))->get_iface();
 }
index 02d73c7..0d396ee 100644 (file)
@@ -476,7 +476,7 @@ FatTreeLink::FatTreeLink(const ClusterCreationArgs* cluster, FatTreeNode* downNo
 } // namespace kernel
 
 namespace s4u {
-NetZone* createFatTreeZone(const std::string& name)
+NetZone* create_fatTree_zone(const std::string& name)
 {
   return (new kernel::routing::FatTreeZone(name))->get_iface();
 }
index 4fffad4..1b4bc8f 100644 (file)
@@ -171,7 +171,7 @@ void FloydZone::do_seal()
 } // namespace kernel
 
 namespace s4u {
-NetZone* createFloydZone(const std::string& name)
+NetZone* create_floyd_zone(const std::string& name)
 {
   return (new kernel::routing::FloydZone(name))->get_iface();
 }
index 72d301f..e3abf98 100644 (file)
@@ -109,7 +109,7 @@ void FullZone::add_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoin
 } // namespace kernel
 
 namespace s4u {
-NetZone* createFullZone(const std::string& name)
+NetZone* create_full_zone(const std::string& name)
 {
   return (new kernel::routing::FullZone(name))->get_iface();
 }
index 5471e5a..0032c87 100644 (file)
@@ -185,7 +185,7 @@ void TorusZone::get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs*
 } // namespace kernel
 
 namespace s4u {
-NetZone* createTorusZone(const std::string& name)
+NetZone* create_torus_zone(const std::string& name)
 {
   return (new kernel::routing::TorusZone(name))->get_iface();
 }
index 8035418..bc963e1 100644 (file)
@@ -121,7 +121,7 @@ void VivaldiZone::get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArg
 } // namespace kernel
 
 namespace s4u {
-NetZone* createVivaldiZone(const std::string& name)
+NetZone* create_vivaldi_zone(const std::string& name)
 {
   return (new kernel::routing::VivaldiZone(name))->get_iface();
 }
index 7071075..720b748 100644 (file)
@@ -68,7 +68,7 @@ s4u::Link* WifiZone::create_link(const std::string& name, const std::vector<doub
 } // namespace kernel
 
 namespace s4u {
-NetZone* createWifiZone(const std::string& name)
+NetZone* create_wifi_zone(const std::string& name)
 {
   return (new kernel::routing::WifiZone(name))->get_iface();
 }