gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Further extension of the migration guide
0 2 0
default
2 files changed with 15 insertions and 7 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
... ...
@@ -47,14 +47,14 @@
47 47

	
48 48
If you already feel like using our library, see the page that tells you
49 49
\ref getstart "How to start using LEMON".
50 50

	
51 51
If you
52 52
want to see how LEMON works, see
53 53
some \ref demoprograms "demo programs"!
54 54

	
55 55
If you know what you are looking for then try to find it under the
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
*/
Ignore white space 24 line context
... ...
@@ -68,38 +68,46 @@
68 68
  with "Set" instead of "Def". Namely,
69 69
  - \c DefPredMap -> \c SetPredMap
70 70
  - \c DefDistMap -> \c SetDistMap
71 71
  - \c DefReachedMap -> \c SetReachedMap
72 72
  - \c DefProcessedMap -> \c SetProcessedMap
73 73
  - \c DefHeap -> \c SetHeap
74 74
  - \c DefStandardHeap -> \c SetStandardHeap
75 75
  - \c DefOperationTraits -> \c SetOperationTraits
76 76
  - \c DefProcessedMapToBeDefaultMap -> \c SetStandardProcessedMap
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
98 106
  - \c FunctorMap -> \c FunctorToMap
99 107
  - \c MapFunctor -> \c MapToFunctor
100 108
  - \c ForkWriteMap -> \c ForkMap
101 109
  - \c StoreBoolMap -> \c LoggerBoolMap
102 110
- \c dim2::BoundingBox -> \c dim2::Box
103 111

	
104 112
*/
105 113
}
0 comments (0 inline)