COIN-OR::LEMON - Graph Library

Changeset 555:b779c4dc7496 in lemon-main


Ignore:
Timestamp:
03/27/09 07:24:52 (16 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Fix and extend the migration script (#245)

File:
1 edited

Legend:

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

    r466 r555  
    2323        -e "s/UGraph/_Gr_aph_label_/g"\
    2424        -e "s/u[Gg]raph/_gr_aph_label_/g"\
    25         -e "s/\<Graph\>/_Digr_aph_label_/g"\
     25        -e "s/Graph\>/_Digr_aph_label_/g"\
    2626        -e "s/\<graph\>/_digr_aph_label_/g"\
    27         -e "s/\<Graphs\>/_Digr_aph_label_s/g"\
     27        -e "s/Graphs\>/_Digr_aph_label_s/g"\
    2828        -e "s/\<graphs\>/_digr_aph_label_s/g"\
    29         -e "s/_Graph/__Gr_aph_label_/g"\
    30         -e "s/\([Gg]\)raph\([a-z_]\)/_\1r_aph_label_\2/g"\
     29        -e "s/\([Gg]\)raph\([a-z]\)/_\1r_aph_label_\2/g"\
    3130        -e "s/\([a-z_]\)graph/\1_gr_aph_label_/g"\
    3231        -e "s/Graph/_Digr_aph_label_/g"\
     
    3534        -e "s/u[Ee]dge/_ed_ge_label_/g"\
    3635        -e "s/IncEdgeIt/_In_cEd_geIt_label_/g"\
    37         -e "s/\<Edge\>/_Ar_c_label_/g"\
     36        -e "s/Edge\>/_Ar_c_label_/g"\
    3837        -e "s/\<edge\>/_ar_c_label_/g"\
    39         -e "s/\<Edges\>/_Ar_c_label_s/g"\
     38        -e "s/_edge\>/_ar_c_label_/g"\
     39        -e "s/Edges\>/_Ar_c_label_s/g"\
    4040        -e "s/\<edges\>/_ar_c_label_s/g"\
    41         -e "s/_Edge/__Ed_ge_label_/g"\
    42         -e "s/Edge\([a-z_]\)/_Ed_ge_label_\1/g"\
    43         -e "s/edge\([a-z_]\)/_ed_ge_label_\1/g"\
    44         -e "s/\([a-z_]\)edge/\1_ed_ge_label_/g"\
     41        -e "s/_edges\>/_ar_c_label_s/g"\
     42        -e "s/\([Ee]\)dge\([a-z]\)/_\1d_ge_label_\2/g"\
     43        -e "s/\([a-z]\)edge/\1_ed_ge_label_/g"\
    4544        -e "s/Edge/_Ar_c_label_/g"\
    4645        -e "s/edge/_ar_c_label_/g"\
     
    117116        -e "s/\<DirGraphAdaptor\>/Orienter/g"\
    118117        -e "s/\<dirGraphAdaptor\>/orienter/g"\
     118        -e "s/\<LpCplex\>/CplexLp/g"\
     119        -e "s/\<MipCplex\>/CplexMip/g"\
     120        -e "s/\<LpGlpk\>/GlpkLp/g"\
     121        -e "s/\<MipGlpk\>/GlpkMip/g"\
     122        -e "s/\<LpSoplex\>/SoplexLp/g"\
    119123    <$i > $TMP
    120124    mv $TMP $i
Note: See TracChangeset for help on using the changeset viewer.