doc/migration.dox
changeset 311 47ec522b838e
parent 310 2bf7c645d5a6
child 312 dd4f08b7e203
     1.1 --- a/doc/migration.dox	Wed Oct 08 11:38:31 2008 +0200
     1.2 +++ b/doc/migration.dox	Wed Oct 08 14:21:01 2008 +0100
     1.3 @@ -77,21 +77,29 @@
     1.4  
     1.5  \section migration-error Exceptions and Debug tools
     1.6  
     1.7 +<b>The class hierarchy of exceptions has largely been simplified. Now,
     1.8 +only the i/o related tools may throw exceptions. All other exceptions
     1.9 +have been replaced with either the \c LEMON_ASSERT or the \c LEMON_DEBUG
    1.10 +macros.</b>
    1.11 +
    1.12 +<b>On the other hand, the parameter order of constructors of the
    1.13 +exceptions has been changed. See \ref IoError and \ref FormatError for
    1.14 +more details.</b>
    1.15 +
    1.16  \section migration-other Others
    1.17  - <b>The contents of <tt>graph_utils.h</tt> are moved to <tt>core.h</tt>
    1.18    and <tt>maps.h</tt>. <tt>core.h</tt> is included by all graph types,
    1.19    therefore it usually do not have to be included directly.</b>
    1.20  - <b><tt>path_utils.h</tt> is merged to \c path.h.</b>
    1.21 +- <b>The semantic of the assignment operations and copy constructors of maps
    1.22 +  are still under discussion. So, you must copy them by hand (i.e. copy
    1.23 +  each entry one-by-one)</b>
    1.24  - <b>The parameters of the graph copying tools (i.e. \c GraphCopy,
    1.25    \c DigraphCopy) have to be given in the from-to order.</b>
    1.26  - \c copyDigraph() and \c copyGraph() are renamed to \c digraphCopy()
    1.27    and \c graphCopy(), respectively.
    1.28 -- The of
    1.29 - - DefXyzMap --> SetXyzMap
    1.30 - - DefHeap --> SetHeap
    1.31 - - DefStandardHeap --> SetStandardHeap
    1.32 - - DefOperationTraits --> SetOperationTraits
    1.33 - - DefProcessedMapToBeDefaultMap --> SetStandardProcessedMap
    1.34 +- <b>The interface of \ref DynArcLookUp has changed. It is now the same as
    1.35 +  of \ref ArcLookUp and \ref AllArcLookUp</b>
    1.36  - Some map types should also been renamed. Namely,
    1.37    - \c IntegerMap -> \c RangeMap
    1.38    - \c StdMap -> \c SparseMap