COIN-OR::LEMON - Graph Library

Changeset 362:c6c6e1d863c4 in lemon


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

Swap parameters in readNauty()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/nauty_reader.h

    r360 r362  
    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.