diff --git a/lemon/nauty_reader.h b/lemon/nauty_reader.h --- a/lemon/nauty_reader.h +++ b/lemon/nauty_reader.h @@ -38,7 +38,7 @@ /// graphs of several classes with given node number (e.g. /// general, connected, biconnected, triangle-free, 4-cycle-free, /// bipartite and graphs with given edge number and degree - /// constraints). This function reads a \e nauty \e graph \e format + /// constraints). This function reads a \e nauty \e graph6 \e format /// line from the given stream and builds it in the given graph. /// /// The site of nauty package: http://cs.anu.edu.au/~bdm/nauty/ @@ -48,7 +48,7 @@ ///\code /// int num = 0; /// SmartGraph graph; - /// while (readNauty(graph, std::cin)) { + /// while (readNautyGraph(graph, std::cin)) { /// PlanarityChecking pc(graph); /// if (pc.run()) ++num; /// } @@ -61,7 +61,7 @@ /// ./geng -c 10 | ./num_of_planar_graphs ///\endcode template - 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 --git a/tools/lemon-0.x-to-1.x.sh b/tools/lemon-0.x-to-1.x.sh --- a/tools/lemon-0.x-to-1.x.sh +++ b/tools/lemon-0.x-to-1.x.sh @@ -90,6 +90,7 @@ -e "s/\/LoggerBoolMap/g"\ -e "s/\/loggerBoolMap/g"\ -e "s/\/Box/g"\ + -e "s/\/readNautyGraph/g"\ <$i > $TMP mv $TMP $i done