... | ... |
@@ -55,8 +55,8 @@ |
55 | 55 |
///\code |
56 | 56 |
/// int num = 0; |
57 | 57 |
/// SmartGraph graph; |
58 |
/// while(readNauty(std::cin, graph)) { |
|
59 |
/// PlanarityChecking<SmartUGraph> pc(graph); |
|
58 |
/// while (readNauty(graph, std::cin)) { |
|
59 |
/// PlanarityChecking<SmartGraph> pc(graph); |
|
60 | 60 |
/// if (pc.run()) ++num; |
61 | 61 |
/// } |
62 | 62 |
/// std::cout << "Number of planar graphs: " << num << std::endl; |
... | ... |
@@ -68,7 +68,7 @@ |
68 | 68 |
/// ./geng -c 10 | ./num_of_pg |
69 | 69 |
///\endcode |
70 | 70 |
template <typename Graph> |
71 |
std::istream& readNauty(std::istream& is |
|
71 |
std::istream& readNauty(Graph& graph, std::istream& is) { |
|
72 | 72 |
graph.clear(); |
73 | 73 |
|
74 | 74 |
std::string line; |
0 comments (0 inline)