Miscellaneous improvements in FactorGraph, Permute, HAK
authorJoris Mooij <joris.mooij@tuebingen.mpg.de>
Sun, 16 May 2010 18:27:02 +0000 (20:27 +0200)
committerJoris Mooij <joris.mooij@tuebingen.mpg.de>
Sun, 16 May 2010 18:27:02 +0000 (20:27 +0200)
commitce5695d63216440fc06ceb562d816bbd09c48ade
tree0e2089459f4da4725b1702c2528f499d357bfa94
parent1f6c34a1bc2db41821357a776b622d588dc82238
Miscellaneous improvements in FactorGraph, Permute, HAK

* Added FactorGraph::isMaximal(size_t) and FactorGraph::maximalFactor(size_t)
* Added optional reverse argument to Permute::Permute( const std::vector<Var>& )
  constructor
* Added Permute::ranges() accessor
* Added Permute::inverse() method
* Optimized region graph construction for HAK/GBP with clusters=BETHE
ChangeLog
Makefile
include/dai/bp.h
include/dai/factorgraph.h
include/dai/index.h
src/factorgraph.cpp
src/hak.cpp
tests/unit/factorgraph_test.cpp
tests/unit/index_test.cpp
utils/uai2fg.cpp