COIN-OR::LEMON - Graph Library

Changeset 350:c6c6e1d863c4 in lemon-main


Ignore:
Timestamp:
10/29/08 15:29:34 (16 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Children:
351:91e68d590e61, 356:99f1bdf8f7db
Phase:
public
Message:

Swap parameters in readNauty()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/nauty_reader.h

    r348 r350  
    5656  /// int num = 0;
    5757  /// SmartGraph graph;
    58   /// while(readNauty(std::cin, graph)) {
    59   ///   PlanarityChecking<SmartUGraph> pc(graph);
     58  /// while (readNauty(graph, std::cin)) {
     59  ///   PlanarityChecking<SmartGraph> pc(graph);
    6060  ///   if (pc.run()) ++num;
    6161  /// }
     
    6969  ///\endcode
    7070  template <typename Graph>
    71   std::istream& readNauty(std::istream& is, Graph& graph) {
     71  std::istream& readNauty(Graph& graph, std::istream& is) {
    7272    graph.clear();
    7373
Note: See TracChangeset for help on using the changeset viewer.