Some small changes
authorJoris Mooij <jorism@tuebingen.mpg.de>
Fri, 14 Nov 2008 15:52:50 +0000 (16:52 +0100)
committerJoris Mooij <jorism@tuebingen.mpg.de>
Fri, 14 Nov 2008 15:52:50 +0000 (16:52 +0100)
commit445381dfa5b84e0079f4c0eec3c5c71f42932b46
treea0eb9443a307752dce8554caa59861b3d0101548
parent203240c98faaaa546590d7f9c4ed8e4b5329e593
Some small changes

- Improved constructors of TProb and TFactor to use iterators instead of pointers
- Added TProb::draw() function, which draws a random index
- Fixed whitespace in tests/testdai.cpp
include/dai/factor.h
include/dai/prob.h
src/bipgraph.cpp
tests/testdai.cpp