Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Dig through git history, and update copyright lines.
[simgrid.git] / src / surf / gtnets / gtnets_topology.h
index f3a2bcc..6ec3800 100644 (file)
@@ -1,6 +1,5 @@
-/* $ID$ */
-
-/* Copyright (c) 2007 Kayo Fujiwara. All rights reserved.                  */
+/* Copyright (c) 2007, 2009-2011. The SimGrid Team.
+ * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -22,8 +21,8 @@ class GTNETS_Node {
 
 public:
   GTNETS_Node(int);
-    GTNETS_Node(const GTNETS_Node & node);
-   ~GTNETS_Node();
+   GTNETS_Node(const GTNETS_Node & node);
+  ~GTNETS_Node();
 
   int add_host(int);
   int add_router(int);
@@ -45,8 +44,8 @@ class GTNETS_Link {
 public:
   GTNETS_Link();
   GTNETS_Link(int id);
-    GTNETS_Link(const GTNETS_Link &);
-   ~GTNETS_Link();
+   GTNETS_Link(const GTNETS_Link &);
+  ~GTNETS_Link();
 
   GTNETS_Node *src_node();
   GTNETS_Node *dst_node();
@@ -91,12 +90,12 @@ public:
 private:
 
   int nodeID_;
-    map < int, GTNETS_Link * >links_;
-    vector < GTNETS_Node * >nodes_;
+   map < int, GTNETS_Link * >links_;
+   vector < GTNETS_Node * >nodes_;
 
-    map < int, int >hosts_;     //hostid->nodeid
+   map < int, int >hosts_;      //hostid->nodeid
 
-    set < int >routers_;
+   set < int >routers_;
 };
 
 #endif