# HG changeset patch
# User Alpar Juttner <alpar@cs.elte.hu>
# Date 1223472061 -3600
# Node ID 47ec522b838e6af659b86fb1ee47e359d00b91dc
# Parent 2bf7c645d5a6f188096920bf2e7533a97de7b3d3
Further extension of the migration guide
diff --git a/doc/mainpage.dox b/doc/mainpage.dox
a
|
b
|
|
56 | 56 | <a class="el" href="modules.html">Modules</a> |
57 | 57 | section. |
58 | 58 | |
59 | | |
| 59 | If you are a user of the old (0.x) series of LEMON, please check out the \ref migration "Migration Guide" for the backward incompatibilities. |
60 | 60 | */ |
diff --git a/doc/migration.dox b/doc/migration.dox
a
|
b
|
|
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 |