Fixed a bug in JTree::findMaximum() (reported by zhengyun84 and Dhruv Batra):
authorJoris Mooij <joris.mooij@tuebingen.mpg.de>
Wed, 11 Aug 2010 07:16:10 +0000 (09:16 +0200)
committerJoris Mooij <joris.mooij@tuebingen.mpg.de>
Wed, 11 Aug 2010 07:16:10 +0000 (09:16 +0200)
commit6738406e76e2185eb7017776c8269c5686b72665
tree20374878763824b7840c618fa833f0f6aac093e5
parent7422318ba665c24dfbd594acd889dde0d88a9a38
Fixed a bug in JTree::findMaximum() (reported by zhengyun84 and Dhruv Batra):
if one or more variables had a MAP belief with more than one maximum, an
incorrect MAP state could result.
12 files changed:
ChangeLog
Makefile
README
examples/example.cpp
include/dai/bp.h
include/dai/daialg.h
include/dai/doc.h
include/dai/jtree.h
src/bp.cpp
src/daialg.cpp
src/jtree.cpp
tests/jtreemapbug.fg [new file with mode: 0644]