X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..9f4ddf3b15fccdab0f2666bf44061e7fd8305f49:/src/surf/gtnets/gtnets_topology.h diff --git a/src/surf/gtnets/gtnets_topology.h b/src/surf/gtnets/gtnets_topology.h index f3a2bcc2b5..a73ad4d925 100644 --- a/src/surf/gtnets/gtnets_topology.h +++ b/src/surf/gtnets/gtnets_topology.h @@ -1,6 +1,5 @@ -/* $ID$ */ - -/* Copyright (c) 2007 Kayo Fujiwara. All rights reserved. */ +/* Copyright (c) 2007, 2009, 2010. 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