COIN-OR::LEMON - Graph Library

Changeset 344:236b1902e5cc in lemon-main


Ignore:
Timestamp:
10/28/08 21:35:06 (16 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

More improvement in the migration script

  • Rename (U)GRAPH_TYPEDEFS.
  • Rename "directed graph" to "digraph".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/lemon-0.x-to-1.x.sh

    r343 r344  
    1313    echo Update $i...
    1414    TMP=`mktemp`
    15     sed -e "s/undirected graph/_gr_aph_label_/g"\
    16         -e "s/undirected edge/_ed_ge_label_/g"\
     15    sed -e "s/\<undirected graph\>/_gr_aph_label_/g"\
     16        -e "s/\<undirected graphs\>/_gr_aph_label_s/g"\
     17        -e "s/\<undirected edge\>/_ed_ge_label_/g"\
     18        -e "s/\<undirected edges\>/_ed_ge_label_s/g"\
     19        -e "s/\<directed graph\>/_digr_aph_label_/g"\
     20        -e "s/\<directed graphs\>/_digr_aph_label_s/g"\
     21        -e "s/\<directed edge\>/_ar_c_label_/g"\
     22        -e "s/\<directed edges\>/_ar_c_label_s/g"\
    1723        -e "s/UGraph/_Gr_aph_label_/g"\
    1824        -e "s/u[Gg]raph/_gr_aph_label_/g"\
     
    4551        -e "s/a[Nn]ode/_re_d_label_/g"\
    4652        -e "s/b[Nn]ode/_blu_e_label_/g"\
     53        -e "s/\<UGRAPH_TYPEDEFS\([ \t]*([ \t]*\)typename[ \t]/TEMPLATE__GR_APH_TY_PEDE_FS_label_\1/g"\
     54        -e "s/\<GRAPH_TYPEDEFS\([ \t]*([ \t]*\)typename[ \t]/TEMPLATE__DIGR_APH_TY_PEDE_FS_label_\1/g"\
     55        -e "s/\<UGRAPH_TYPEDEFS\>/_GR_APH_TY_PEDE_FS_label_/g"\
     56        -e "s/\<GRAPH_TYPEDEFS\>/_DIGR_APH_TY_PEDE_FS_label_/g"\
    4757        -e "s/_Digr_aph_label_/Digraph/g"\
    4858        -e "s/_digr_aph_label_/digraph/g"\
     
    5868        -e "s/_re_d_label_/red/g"\
    5969        -e "s/_blu_e_label_/blue/g"\
     70        -e "s/_GR_APH_TY_PEDE_FS_label_/GRAPH_TYPEDEFS/g"\
     71        -e "s/_DIGR_APH_TY_PEDE_FS_label_/DIGRAPH_TYPEDEFS/g"\
    6072        -e "s/DigraphToEps/GraphToEps/g"\
    6173        -e "s/digraphToEps/graphToEps/g"\
Note: See TracChangeset for help on using the changeset viewer.