Improved prob.h/cpp code:
authorJoris Mooij <joris.mooij@tuebingen.mpg.de>
Tue, 6 Apr 2010 08:53:14 +0000 (10:53 +0200)
committerJoris Mooij <joris.mooij@tuebingen.mpg.de>
Tue, 6 Apr 2010 08:53:14 +0000 (10:53 +0200)
commit41b42a63d729c76080ae603e0288e6c8c57a7d72
tree34c8c6dec2154f9164d7371ceb96186b119bbbe1
parentfc7b44feb5ddccc40530a8a84934f1c1aae3b755
Improved prob.h/cpp code:

- Deprecated TProb::TProb( TIterator begin, TIterator end, size_t sizeHint=0 )
  constructor: the sizeHint argument no longer defaults to 0
- Deprecated TProb::accumulate( T init, binOp op1, unOp op2 );
  instead, TProb::accumulateSum( T init, unOp op ) and
  TProb::accumulateMax( T init, unOp op, bool minimize ) should be used.
- Deprecated TProb::NormType and TProb::DistType;
  ProbNormType and ProbDistType should be used instead.
15 files changed:
ChangeLog
include/dai/factor.h
include/dai/prob.h
include/dai/util.h
src/bbp.cpp
src/bp.cpp
src/cbp.cpp
src/fbp.cpp
src/hak.cpp
src/lc.cpp
src/mf.cpp
src/treeep.cpp
tests/testdai.cpp
tests/unit/factor.cpp
tests/unit/prob.cpp