Fixed bug in findMaximum(): inconsistent max-beliefs are now detected,
authorJoris Mooij <joris.mooij@tuebingen.mpg.de>
Mon, 9 May 2011 10:59:32 +0000 (12:59 +0200)
committerJoris Mooij <joris.mooij@tuebingen.mpg.de>
Mon, 9 May 2011 10:59:32 +0000 (12:59 +0200)
commita84448032a86face587401e4a69e888225414220
treefd36b8a7a23e3f233285071508a86ea0a51a94f7
parentf86bdcdce6b00e0313070d61b23207e55e712ec7
Fixed bug in findMaximum(): inconsistent max-beliefs are now detected,
instead of returning a MAP state with zero joint probability
(reported by Hynek Urban)
ChangeLog
examples/example.cpp
include/dai/bp.h
include/dai/factorgraph.h
include/dai/jtree.h
include/dai/prob.h
src/bp.cpp
src/daialg.cpp
src/factorgraph.cpp
src/jtree.cpp
src/matlab/dai.cpp