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 48 line context
... ...
@@ -35,26 +35,26 @@
35 35
LEMON is an <a class="el" href="http://opensource.org/">open&nbsp;source</a>
36 36
project.
37 37
You are free to use it in your commercial or
38 38
non-commercial applications under very permissive
39 39
\ref license "license terms".
40 40
</b>
41 41

	
42 42
\subsection howtoread How to read the documentation
43 43

	
44 44
If you want to get a quick start and see the most important features then
45 45
take a look at our \ref quicktour
46 46
"Quick Tour to LEMON" which will guide you along.
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 48 line context
... ...
@@ -56,50 +56,58 @@
56 56
<b>The <tt>script/lemon-0.x-to-1.x.sh</tt> tool replaces all instances of
57 57
the words \c graph, \c digraph, \c edge and \c arc, so it replaces them
58 58
in strings, comments etc. as well as in all identifiers.</b>
59 59

	
60 60
\section migration-lgf LGF tools
61 61

	
62 62
\section migration-search BFS, DFS and Dijkstra
63 63
- <b>Using the function interface of BFS, DFS and %Dijkstra both source and
64 64
  target nodes can be given as parameters of the <tt>run()</tt> function
65 65
  (instead of \c bfs(), \c dfs() or \c dijkstra() itself).</b>
66 66
- \ref named-templ-param "Named class template parameters" of \c Bfs,
67 67
  \c Dfs, \c Dijkstra, \c BfsVisit, \c DfsVisit are renamed to start
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)