doc/migration.dox
changeset 307 47ec522b838e
parent 306 2bf7c645d5a6
child 308 dd4f08b7e203
equal deleted inserted replaced
1:2f17e8c4d2c9 2:b36360c5d750
    75   - \c DefOperationTraits -> \c SetOperationTraits
    75   - \c DefOperationTraits -> \c SetOperationTraits
    76   - \c DefProcessedMapToBeDefaultMap -> \c SetStandardProcessedMap
    76   - \c DefProcessedMapToBeDefaultMap -> \c SetStandardProcessedMap
    77 
    77 
    78 \section migration-error Exceptions and Debug tools
    78 \section migration-error Exceptions and Debug tools
    79 
    79 
       
    80 <b>The class hierarchy of exceptions has largely been simplified. Now,
       
    81 only the i/o related tools may throw exceptions. All other exceptions
       
    82 have been replaced with either the \c LEMON_ASSERT or the \c LEMON_DEBUG
       
    83 macros.</b>
       
    84 
       
    85 <b>On the other hand, the parameter order of constructors of the
       
    86 exceptions has been changed. See \ref IoError and \ref FormatError for
       
    87 more details.</b>
       
    88 
    80 \section migration-other Others
    89 \section migration-other Others
    81 - <b>The contents of <tt>graph_utils.h</tt> are moved to <tt>core.h</tt>
    90 - <b>The contents of <tt>graph_utils.h</tt> are moved to <tt>core.h</tt>
    82   and <tt>maps.h</tt>. <tt>core.h</tt> is included by all graph types,
    91   and <tt>maps.h</tt>. <tt>core.h</tt> is included by all graph types,
    83   therefore it usually do not have to be included directly.</b>
    92   therefore it usually do not have to be included directly.</b>
    84 - <b><tt>path_utils.h</tt> is merged to \c path.h.</b>
    93 - <b><tt>path_utils.h</tt> is merged to \c path.h.</b>
       
    94 - <b>The semantic of the assignment operations and copy constructors of maps
       
    95   are still under discussion. So, you must copy them by hand (i.e. copy
       
    96   each entry one-by-one)</b>
    85 - <b>The parameters of the graph copying tools (i.e. \c GraphCopy,
    97 - <b>The parameters of the graph copying tools (i.e. \c GraphCopy,
    86   \c DigraphCopy) have to be given in the from-to order.</b>
    98   \c DigraphCopy) have to be given in the from-to order.</b>
    87 - \c copyDigraph() and \c copyGraph() are renamed to \c digraphCopy()
    99 - \c copyDigraph() and \c copyGraph() are renamed to \c digraphCopy()
    88   and \c graphCopy(), respectively.
   100   and \c graphCopy(), respectively.
    89 - The of
   101 - <b>The interface of \ref DynArcLookUp has changed. It is now the same as
    90  - DefXyzMap --> SetXyzMap
   102   of \ref ArcLookUp and \ref AllArcLookUp</b>
    91  - DefHeap --> SetHeap
       
    92  - DefStandardHeap --> SetStandardHeap
       
    93  - DefOperationTraits --> SetOperationTraits
       
    94  - DefProcessedMapToBeDefaultMap --> SetStandardProcessedMap
       
    95 - Some map types should also been renamed. Namely,
   103 - Some map types should also been renamed. Namely,
    96   - \c IntegerMap -> \c RangeMap
   104   - \c IntegerMap -> \c RangeMap
    97   - \c StdMap -> \c SparseMap
   105   - \c StdMap -> \c SparseMap
    98   - \c FunctorMap -> \c FunctorToMap
   106   - \c FunctorMap -> \c FunctorToMap
    99   - \c MapFunctor -> \c MapToFunctor
   107   - \c MapFunctor -> \c MapToFunctor