| ... | ... |
@@ -77,21 +77,29 @@ |
| 77 | 77 |
|
| 78 | 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 | 89 |
\section migration-other Others |
| 81 | 90 |
- <b>The contents of <tt>graph_utils.h</tt> are moved to <tt>core.h</tt> |
| 82 | 91 |
and <tt>maps.h</tt>. <tt>core.h</tt> is included by all graph types, |
| 83 | 92 |
therefore it usually do not have to be included directly.</b> |
| 84 | 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 | 97 |
- <b>The parameters of the graph copying tools (i.e. \c GraphCopy, |
| 86 | 98 |
\c DigraphCopy) have to be given in the from-to order.</b> |
| 87 | 99 |
- \c copyDigraph() and \c copyGraph() are renamed to \c digraphCopy() |
| 88 | 100 |
and \c graphCopy(), respectively. |
| 89 |
- The of |
|
| 90 |
- DefXyzMap --> SetXyzMap |
|
| 91 |
- DefHeap --> SetHeap |
|
| 92 |
- DefStandardHeap --> SetStandardHeap |
|
| 93 |
- DefOperationTraits --> SetOperationTraits |
|
| 94 |
- DefProcessedMapToBeDefaultMap --> SetStandardProcessedMap |
|
| 101 |
- <b>The interface of \ref DynArcLookUp has changed. It is now the same as |
|
| 102 |
of \ref ArcLookUp and \ref AllArcLookUp</b> |
|
| 95 | 103 |
- Some map types should also been renamed. Namely, |
| 96 | 104 |
- \c IntegerMap -> \c RangeMap |
| 97 | 105 |
- \c StdMap -> \c SparseMap |
0 comments (0 inline)