Adopted contributions by Christian.
authorJoris Mooij <jorism@marvin.jorismooij.nl>
Mon, 25 Aug 2008 09:25:48 +0000 (11:25 +0200)
committerJoris Mooij <jorism@marvin.jorismooij.nl>
Mon, 25 Aug 2008 09:25:48 +0000 (11:25 +0200)
commita7922ad355ec265a434619f6e7ca7b7f4804c3b1
tree06b0c40601c32b3c72f52361f2031b4205e1120f
parenta99ba6f83ae9d3ff3be36a9e2e23deae304830eb
Adopted contributions by Christian.
* Contributions by Christian, resulting in vast speed and memory improvements
  for large factor graphs:
  - Sparse implementation of nodes->edge conversion table _E12ind in bipgraph.h
  - New FactorGraph constructor that constructs from given ranges of factors
    and variables
  - Optimization of FactorGraph constructors
* FactorGraph constructors no longer check for short loops and for
  negative entries. Also, the normtype is now Prob::NORMPROB by default.
* Moved everything into namespace "dai"
47 files changed:
ChangeLog
alldai.cpp
alldai.h
bipgraph.h
bp.cpp
bp.h
clustergraph.cpp
clustergraph.h
daialg.cpp
daialg.h
diffs.h
enum.h
example.cpp
factor.h
factorgraph.cpp
factorgraph.h
hak.cpp
hak.h
index.h
jtree.cpp
jtree.h
lc.cpp
lc.h
mf.cpp
mf.h
mr.cpp
mr.h
prob.h
properties.cpp
properties.h
regiongraph.cpp
regiongraph.h
tests/test.cpp
treeep.cpp
treeep.h
util.cpp
util.h
utils/createfg.cpp
utils/fg2dot.cpp
utils/fginfo.cpp
utils/remove_short_loops.cpp
var.h
varset.h
weightedgraph.cpp
weightedgraph.h
x2x.cpp
x2x.h