Fixed some bugs and deprecated non-const operator[] of Prob,Factor
authorJoris Mooij <joris.mooij@tuebingen.mpg.de>
Thu, 1 Apr 2010 12:36:48 +0000 (14:36 +0200)
committerJoris Mooij <joris.mooij@tuebingen.mpg.de>
Thu, 1 Apr 2010 12:36:48 +0000 (14:36 +0200)
commit7bc952e1c25f7f7f9cfa0031725325491f9c3bc2
tree3b95bf275c1cc2ba7da1dc14a82903505c8426b3
parent06661f4fdb0fa4a5f63223d7d520735342a088ab
Fixed some bugs and deprecated non-const operator[] of Prob,Factor

* Fixed some bugs in the MatLab interface build system
* Fixed a bug in utils/fginfo.cpp
* Added GraphEL::GraphEL( const GraphAL& G ) constructor
* Improved factor.h/cpp:
  - Added get(size_t) and set(size_t,T) operators; get() is
    equivalent to "operator[](size_t) const" and set() should
    be used instead of the non-const operator[], which has been deprecated
* Improved prob.h/cpp:
  - Added get(size_t) and set(size_t,T) operators; get() is
    equivalent to "operator[](size_t) const" and set() should
    be used instead of the non-const operator[], which has been deprecated
33 files changed:
ChangeLog
Makefile
Makefile.CYGWIN
Makefile.LINUX
Makefile.MACOSX
Makefile.WINDOWS
README
examples/example_sprinkler.cpp
include/dai/bipgraph.h
include/dai/doc.h
include/dai/factor.h
include/dai/prob.h
include/dai/properties.h
include/dai/smallset.h
include/dai/weightedgraph.h
src/bbp.cpp
src/bp.cpp
src/bp_dual.cpp
src/daialg.cpp
src/emalg.cpp
src/factor.cpp
src/factorgraph.cpp
src/fbp.cpp
src/gibbs.cpp
src/jtree.cpp
src/mr.cpp
src/treeep.cpp
src/trwbp.cpp
src/weightedgraph.cpp
swig/dai.i
tests/testdai.cpp
tests/unit/prob.cpp
utils/fginfo.cpp