[Lemon-commits] Peter Kovacs: Rename readNauty() to readNautyGra...

Lemon HG hg at lemon.cs.elte.hu
Wed Nov 5 09:12:08 CET 2008


details:   http://lemon.cs.elte.hu/hg/lemon/rev/0eec1736ff1d
changeset: 371:0eec1736ff1d
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Tue Nov 04 21:25:15 2008 +0100
description:
	Rename readNauty() to readNautyGraph() (#55)

diffstat:

2 files changed, 3 insertions(+), 2 deletions(-)
lemon/nauty_reader.h      |    4 ++--
tools/lemon-0.x-to-1.x.sh |    1 +

diffs (32 lines):

diff -r 636fa2f39f10 -r 0eec1736ff1d lemon/nauty_reader.h
--- a/lemon/nauty_reader.h	Tue Nov 04 21:14:57 2008 +0100
+++ b/lemon/nauty_reader.h	Tue Nov 04 21:25:15 2008 +0100
@@ -48,7 +48,7 @@
   ///\code
   /// int num = 0;
   /// SmartGraph graph;
-  /// while (readNauty(graph, std::cin)) {
+  /// while (readNautyGraph(graph, std::cin)) {
   ///   PlanarityChecking<SmartGraph> pc(graph);
   ///   if (pc.run()) ++num;
   /// }
@@ -61,7 +61,7 @@
   /// ./geng -c 10 | ./num_of_planar_graphs
   ///\endcode
   template <typename Graph>
-  std::istream& readNauty(Graph& graph, std::istream& is = std::cin) {
+  std::istream& readNautyGraph(Graph& graph, std::istream& is = std::cin) {
     graph.clear();
 
     std::string line;
diff -r 636fa2f39f10 -r 0eec1736ff1d tools/lemon-0.x-to-1.x.sh
--- a/tools/lemon-0.x-to-1.x.sh	Tue Nov 04 21:14:57 2008 +0100
+++ b/tools/lemon-0.x-to-1.x.sh	Tue Nov 04 21:25:15 2008 +0100
@@ -90,6 +90,7 @@
         -e "s/\<StoreBoolMap\>/LoggerBoolMap/g"\
         -e "s/\<storeBoolMap\>/loggerBoolMap/g"\
         -e "s/\<BoundingBox\>/Box/g"\
+        -e "s/\<readNauty\>/readNautyGraph/g"\
     <$i > $TMP
     mv $TMP $i
 done



More information about the Lemon-commits mailing list