# 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 -r 2bf7c645d5a6 -r 47ec522b838e doc/mainpage.dox --- a/doc/mainpage.dox Wed Oct 08 11:38:31 2008 +0200 +++ b/doc/mainpage.dox Wed Oct 08 14:21:01 2008 +0100 @@ -56,5 +56,5 @@ <a class="el" href="modules.html">Modules</a> section. - +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. */ diff -r 2bf7c645d5a6 -r 47ec522b838e doc/migration.dox --- a/doc/migration.dox Wed Oct 08 11:38:31 2008 +0200 +++ b/doc/migration.dox Wed Oct 08 14:21:01 2008 +0100 @@ -77,21 +77,29 @@ \section migration-error Exceptions and Debug tools +<b>The class hierarchy of exceptions has largely been simplified. Now, +only the i/o related tools may throw exceptions. All other exceptions +have been replaced with either the \c LEMON_ASSERT or the \c LEMON_DEBUG +macros.</b> + +<b>On the other hand, the parameter order of constructors of the +exceptions has been changed. See \ref IoError and \ref FormatError for +more details.</b> + \section migration-other Others - <b>The contents of <tt>graph_utils.h</tt> are moved to <tt>core.h</tt> and <tt>maps.h</tt>. <tt>core.h</tt> is included by all graph types, therefore it usually do not have to be included directly.</b> - <b><tt>path_utils.h</tt> is merged to \c path.h.</b> +- <b>The semantic of the assignment operations and copy constructors of maps + are still under discussion. So, you must copy them by hand (i.e. copy + each entry one-by-one)</b> - <b>The parameters of the graph copying tools (i.e. \c GraphCopy, \c DigraphCopy) have to be given in the from-to order.</b> - \c copyDigraph() and \c copyGraph() are renamed to \c digraphCopy() and \c graphCopy(), respectively. -- The of - - DefXyzMap --> SetXyzMap - - DefHeap --> SetHeap - - DefStandardHeap --> SetStandardHeap - - DefOperationTraits --> SetOperationTraits - - DefProcessedMapToBeDefaultMap --> SetStandardProcessedMap +- <b>The interface of \ref DynArcLookUp has changed. It is now the same as + of \ref ArcLookUp and \ref AllArcLookUp</b> - Some map types should also been renamed. Namely, - \c IntegerMap -> \c RangeMap - \c StdMap -> \c SparseMap