Added "logdomain" property to BP.
[libdai.git] / ChangeLog
1 libDAI-0.2.2 (2008-??-??)
2 -------------------------
3
4 * Pervasive change of BipartiteGraph implementation (based on an idea by
5 Giuseppe Passino). BipartiteGraph no longer stores the node properties (former
6 _V1 and _V2), nor does it store a dense adjacency matrix anymore, nor an edge
7 list. Instead, it stores the graph structure as lists of neighboring nodes.
8 This yields a significant memory/speed improvement for large factor graphs, and
9 is more elegant as well. Iterating over neighbors is made easy by using
10 boost::foreach.
11 * Improved index.h (merged from SVN head):
12 - Renamed Index -> IndexFor
13 - Added some .reserve()'s to IndexFor methods which yields a
14 25% speedup of testregression
15 - Replaced multind by Permute
16 - Added MultiFor
17 - Added State
18 * Moved everything into namespace "dai"
19 * Renamed DEBUG to DAI_DEBUG to avoid conflicts
20 * Added conditional compilation of inference methods
21 * Contributions by Peter Gober:
22 - Renamed variable _N in mr.* for compatibility with g++ under cygwin
23 * Contributions by Giuseppe Passino:
24 - removed "using namespace std;" from header files - bad practice
25 - moved header files in include/dai and sources in src
26 - changed #ifndefs to GNU style
27 - added extra warning checks (-W -Wextra) and fixed resulting warnings
28 - dai::TProb:
29 o removed copy constructor and assignment operators (redundant)
30 o implementation of some methods via STL algorithms
31 o added methods takeExp, takeLog, takeLog0 for transformation in-place
32 o explicit constructor (prevents implicit conversion from size_t to TProb)
33 o added operator+,+=,-,-=, with argument T (for calculations in log-scale)
34 - Added "logdomain" property to BP, a boolean that controls whether
35 calculations are done in the log-domain or in the linear domain;
36 doing calculations in the log-domain may help if the numerical range
37 of a double is too small.
38 * Contributions by Christian Wojek:
39 - New FactorGraph constructor that constructs from given ranges of factors
40 and variables
41 - Optimization of FactorGraph constructors using tr1::unordered_map.
42 * FactorGraph constructors no longer check for short loops (huge speed
43 increase for large factor graphs), nor for negative entries. Also, the
44 normtype is now Prob::NORMPROB by default.
45 * Small optimization in Diffs
46 * Interface changes:
47 - VarSet::
48 stateSpace() -> VarSet::states()
49 - FactorGraph::
50 delta(const Var &) -> delta(size_t)
51 Delta(const Var &) -> Delta(size_t)
52 makeCavity(const Var &) -> makeCavity(size_t)
53 removed MakeFactorCavity(size_t)
54 removed ExactMarginal(const VarSet &)
55 removed ExactlogZ()
56 moved isConnected() to BipartiteGraph
57 vars() -> vars
58 factors() -> factors
59 - RegionGraph::
60 nr_ORs() -> nrORs()
61 nr_IRs() -> nrIRs()
62 ORs() -> ORs
63 IRs() -> IRs
64 - *::Regenerate() -> *::create()
65 - Renamed Index -> IndexFor
66
67
68 libDAI-0.2.1 (2008-05-26)
69 -------------------------
70
71 Bugfix release.
72 * added missing cstdio header in util.h
73 * fixed Properties in MR_CLAMPING_* and MR_EXACT_*
74 * added description of the factor graph fileformat
75 * improved Makefile
76
77
78 libDAI-0.2.0 (2006-11-30)
79 -------------------------
80
81 First public release.