COIN-OR::LEMON - Graph Library

Ticket #55: rename_0eec1736ff1d.patch

File rename_0eec1736ff1d.patch, 1.2 KB (added by Peter Kovacs, 16 years ago)
  • lemon/nauty_reader.h

    # 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  
    4848  ///\code
    4949  /// int num = 0;
    5050  /// SmartGraph graph;
    51   /// while (readNauty(graph, std::cin)) {
     51  /// while (readNautyGraph(graph, std::cin)) {
    5252  ///   PlanarityChecking<SmartGraph> pc(graph);
    5353  ///   if (pc.run()) ++num;
    5454  /// }
     
    6161  /// ./geng -c 10 | ./num_of_planar_graphs
    6262  ///\endcode
    6363  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) {
    6565    graph.clear();
    6666
    6767    std::string line;
  • tools/lemon-0.x-to-1.x.sh

    diff --git a/tools/lemon-0.x-to-1.x.sh b/tools/lemon-0.x-to-1.x.sh
    a b  
    9090        -e "s/\<StoreBoolMap\>/LoggerBoolMap/g"\
    9191        -e "s/\<storeBoolMap\>/loggerBoolMap/g"\
    9292        -e "s/\<BoundingBox\>/Box/g"\
     93        -e "s/\<readNauty\>/readNautyGraph/g"\
    9394    <$i > $TMP
    9495    mv $TMP $i
    9596done