Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename a method to stick to our naming conventions
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 23 Mar 2016 09:28:02 +0000 (10:28 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 23 Mar 2016 11:14:13 +0000 (12:14 +0100)
include/simgrid/s4u/As.hpp
src/s4u/s4u_as.cpp
src/surf/AsDijkstra.cpp
src/surf/AsDijkstra.hpp
src/surf/AsFloyd.cpp
src/surf/AsFloyd.hpp
src/surf/AsFull.cpp
src/surf/AsFull.hpp
src/surf/sg_platf.cpp

index b79afa4..370edfc 100644 (file)
@@ -38,7 +38,7 @@ protected:
   
 public:
   /** @brief Seal your AS once you're done adding content, and before routing stuff through it */
-  virtual void Seal();
+  virtual void seal();
   char *name();
   As *father();;
   xbt_dict_t children(); // Sub AS
index 60459e6..b0f760f 100644 (file)
@@ -19,7 +19,7 @@ namespace simgrid {
     : name_(xbt_strdup(name))
     {
     }
-    void As::Seal()
+    void As::seal()
     {
       sealed_ = true;
     }
index 3d542a5..f18a2c5 100644 (file)
@@ -38,7 +38,7 @@ static void graph_edge_data_free(void *e) // FIXME: useless code duplication
 
 namespace simgrid {
 namespace surf {
-void AsDijkstra::Seal()
+void AsDijkstra::seal()
 {
   xbt_node_t node = NULL;
   unsigned int cursor2, cursor;
index 346e20a..081bffd 100644 (file)
@@ -33,7 +33,7 @@ namespace surf {
 class XBT_PRIVATE AsDijkstra : public AsRoutedGraph {
 public:
   AsDijkstra(const char*name, bool cached);
-  void Seal() override;
+  void seal() override;
 
   ~AsDijkstra();
   xbt_node_t routeGraphNewNode(int id, int graph_id);
index 891675a..960b039 100644 (file)
@@ -149,7 +149,7 @@ void AsFloyd::addRoute(sg_platf_route_cbarg_t route)
   }
 }
 
-void AsFloyd::Seal(){
+void AsFloyd::seal(){
 
   /* set the size of table routing */
   size_t table_size = xbt_dynar_length(vertices_);
index 39ba437..4c04f39 100644 (file)
@@ -19,7 +19,7 @@ public:
 
   void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
   void addRoute(sg_platf_route_cbarg_t route) override;
-  void Seal() override;
+  void seal() override;
 
 private:
   /* vars to compute the Floyd algorithm. */
index 9f75761..37d3ff7 100644 (file)
@@ -17,7 +17,7 @@ namespace surf {
   {
   }
 
-void AsFull::Seal() {
+void AsFull::seal() {
   int i;
   sg_platf_route_cbarg_t e_route;
 
index df5fee5..f91b021 100644 (file)
@@ -16,7 +16,7 @@ class XBT_PRIVATE AsFull: public AsRoutedGraph {
 public:
 
   AsFull(const char*name);
-  void Seal() override;
+  void seal() override;
   ~AsFull();
 
   void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
index 51315f5..e3898d1 100644 (file)
@@ -948,7 +948,7 @@ void sg_platf_new_AS_begin(sg_platf_AS_cbarg_t AS)
 void sg_platf_new_AS_end()
 {
   xbt_assert(current_routing, "Cannot seal the current AS: none under construction");
-  current_routing->Seal();
+  current_routing->seal();
   current_routing = static_cast<simgrid::surf::AsImpl*>(current_routing->father());
 
   if (TRACE_is_enabled())