# HG changeset patch # User Alpar Juttner # 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 @@ Modules 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 +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. + +On the other hand, the parameter order of constructors of the +exceptions has been changed. See \ref IoError and \ref FormatError for +more details. + \section migration-other Others - The contents of graph_utils.h are moved to core.h and maps.h. core.h is included by all graph types, therefore it usually do not have to be included directly. - path_utils.h is merged to \c path.h. +- 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) - The parameters of the graph copying tools (i.e. \c GraphCopy, \c DigraphCopy) have to be given in the from-to order. - \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 +- The interface of \ref DynArcLookUp has changed. It is now the same as + of \ref ArcLookUp and \ref AllArcLookUp - Some map types should also been renamed. Namely, - \c IntegerMap -> \c RangeMap - \c StdMap -> \c SparseMap