Rename readNauty() to readNautyGraph() (#55)
authorPeter Kovacs <kpeter@inf.elte.hu>
Tue, 04 Nov 2008 21:25:15 +0100
changeset 3710eec1736ff1d
parent 370 636fa2f39f10
child 374 51597950d0fe
Rename readNauty() to readNautyGraph() (#55)
lemon/nauty_reader.h
tools/lemon-0.x-to-1.x.sh
     1.1 --- a/lemon/nauty_reader.h	Tue Nov 04 21:14:57 2008 +0100
     1.2 +++ b/lemon/nauty_reader.h	Tue Nov 04 21:25:15 2008 +0100
     1.3 @@ -48,7 +48,7 @@
     1.4    ///\code
     1.5    /// int num = 0;
     1.6    /// SmartGraph graph;
     1.7 -  /// while (readNauty(graph, std::cin)) {
     1.8 +  /// while (readNautyGraph(graph, std::cin)) {
     1.9    ///   PlanarityChecking<SmartGraph> pc(graph);
    1.10    ///   if (pc.run()) ++num;
    1.11    /// }
    1.12 @@ -61,7 +61,7 @@
    1.13    /// ./geng -c 10 | ./num_of_planar_graphs
    1.14    ///\endcode
    1.15    template <typename Graph>
    1.16 -  std::istream& readNauty(Graph& graph, std::istream& is = std::cin) {
    1.17 +  std::istream& readNautyGraph(Graph& graph, std::istream& is = std::cin) {
    1.18      graph.clear();
    1.19  
    1.20      std::string line;
     2.1 --- a/tools/lemon-0.x-to-1.x.sh	Tue Nov 04 21:14:57 2008 +0100
     2.2 +++ b/tools/lemon-0.x-to-1.x.sh	Tue Nov 04 21:25:15 2008 +0100
     2.3 @@ -90,6 +90,7 @@
     2.4          -e "s/\<StoreBoolMap\>/LoggerBoolMap/g"\
     2.5          -e "s/\<storeBoolMap\>/loggerBoolMap/g"\
     2.6          -e "s/\<BoundingBox\>/Box/g"\
     2.7 +        -e "s/\<readNauty\>/readNautyGraph/g"\
     2.8      <$i > $TMP
     2.9      mv $TMP $i
    2.10  done