|
Boost : |
From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2003-07-17 15:46:43
Hi,
City names in city_visitor.cpp example doesn't correspond with enums; i
think it's unintended mistake. I've found same thing in documentation.
Regards,
Janusz
--- libs\graph\example\city_visitor.cpp.orig Sat Jul 13 17:21:38 2002
+++ libs\graph\example\city_visitor.cpp Mon Jul 14 18:50:02 2003
@@ -111,10 +111,9 @@
enum { SanJose, SanFran, LA, SanDiego, Fresno, LosVegas, Reno,
Sacramento, SaltLake, Pheonix, N };
- string names[] = { "San Jose", "San Francisco", "San Jose",
- "San Francisco", "Los Angeles", "San Diego",
- "Fresno", "Los Vegas", "Reno", "Sacramento",
- "Salt Lake City", "Pheonix" };
+ string names[] = { "San Jose", "San Francisco", "Los Angeles",
+ "San Diego", "Fresno", "Los Vegas", "Reno",
+ "Sacramento", "Salt Lake City", "Pheonix" };
typedef std::pair<int,int> E;
E edge_array[] = { E(Sacramento, Reno), E(Sacramento, SanFran),
--- libs\graph\doc\using_property_maps.html.orig Thu Nov 1 16:22:28 2001
+++ libs\graph\doc\using_property_maps.html Mon Jul 14 18:51:38 2003
@@ -340,10 +340,9 @@
Sacramento, SaltLake, Pheonix, N };
// An array of vertex name properties
- std::string names[] = { "San Jose", "San Francisco", "San Jose",
- "San Francisco", "Los Angeles", "San Diego",
- "Fresno", "Los Vegas", "Reno", "Sacramento",
- "Salt Lake City", "Pheonix" };
+ std::string names[] = { "San Jose", "San Francisco", "Los Angeles",
+ "San Diego", "Fresno", "Los Vegas", "Reno",
+ "Sacramento", "Salt Lake City", "Pheonix" };
// Specify all the connecting roads between cities.
typedef std::pair<int,int> E;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk