# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1225830315 -3600
# Node ID 0eec1736ff1d6c4ed5904121ec2d3b93bc1c7f9c
# Parent 636fa2f39f1017c4a7153b76b7037e19416d47ce
Rename readNauty() to readNautyGraph() (#55)
diff --git a/lemon/nauty_reader.h b/lemon/nauty_reader.h
|
a
|
b
|
|
| 48 | 48 | ///\code |
| 49 | 49 | /// int num = 0; |
| 50 | 50 | /// SmartGraph graph; |
| 51 | | /// while (readNauty(graph, std::cin)) { |
| | 51 | /// while (readNautyGraph(graph, std::cin)) { |
| 52 | 52 | /// PlanarityChecking<SmartGraph> pc(graph); |
| 53 | 53 | /// if (pc.run()) ++num; |
| 54 | 54 | /// } |
| … |
… |
|
| 61 | 61 | /// ./geng -c 10 | ./num_of_planar_graphs |
| 62 | 62 | ///\endcode |
| 63 | 63 | template <typename Graph> |
| 64 | | std::istream& readNauty(Graph& graph, std::istream& is = std::cin) { |
| | 64 | std::istream& readNautyGraph(Graph& graph, std::istream& is = std::cin) { |
| 65 | 65 | graph.clear(); |
| 66 | 66 | |
| 67 | 67 | std::string line; |
diff --git a/tools/lemon-0.x-to-1.x.sh b/tools/lemon-0.x-to-1.x.sh
|
a
|
b
|
|
| 90 | 90 | -e "s/\<StoreBoolMap\>/LoggerBoolMap/g"\ |
| 91 | 91 | -e "s/\<storeBoolMap\>/loggerBoolMap/g"\ |
| 92 | 92 | -e "s/\<BoundingBox\>/Box/g"\ |
| | 93 | -e "s/\<readNauty\>/readNautyGraph/g"\ |
| 93 | 94 | <$i > $TMP |
| 94 | 95 | mv $TMP $i |
| 95 | 96 | done |