libdai.git
10 years agoAdded example_sprinkler.py, a python port of examples/example_sprinkler.cpp and added...
Joris Mooij [Tue, 13 Oct 2009 14:39:41 +0000 (16:39 +0200)]
Added example_sprinkler.py, a python port of examples/example_sprinkler.cpp and added copyright headers

10 years ago[Patrick Pletscher] Added experimental SWIG Python wrapper code
Joris Mooij [Tue, 22 Sep 2009 13:27:08 +0000 (15:27 +0200)]
[Patrick Pletscher] Added experimental SWIG Python wrapper code

10 years agoUpdated copyright headers
Joris Mooij [Wed, 16 Sep 2009 13:47:09 +0000 (15:47 +0200)]
Updated copyright headers

10 years agoAdded max-product functionality to JTree
Joris Mooij [Tue, 15 Sep 2009 10:47:21 +0000 (12:47 +0200)]
Added max-product functionality to JTree

10 years agoFixed two regressions
Joris Mooij [Mon, 14 Sep 2009 11:35:14 +0000 (13:35 +0200)]
Fixed two regressions

10 years agoFixed tabs and trailing whitespaces
Joris Mooij [Tue, 8 Sep 2009 09:18:33 +0000 (11:18 +0200)]
Fixed tabs and trailing whitespaces

10 years agoFixed regression in TProb<T>
Joris Mooij [Tue, 8 Sep 2009 08:40:20 +0000 (10:40 +0200)]
Fixed regression in TProb<T>

10 years agoImproved coding style of recent changes by Charlie Vaske
Joris Mooij [Tue, 8 Sep 2009 08:39:22 +0000 (10:39 +0200)]
Improved coding style of recent changes by Charlie Vaske

10 years agoMerge branch 'vaskeEmFix' of git://disco.cse.ucsc.edu/libDAI into mergeVaskeEmFix
Joris Mooij [Tue, 8 Sep 2009 07:57:19 +0000 (09:57 +0200)]
Merge branch 'vaskeEmFix' of git://disco.cse.ucsc.edu/libDAI into mergeVaskeEmFix

10 years agoSmall documentation improvements
Joris Mooij [Tue, 8 Sep 2009 07:52:09 +0000 (09:52 +0200)]
Small documentation improvements

10 years agoVarious fixes
Joris Mooij [Mon, 7 Sep 2009 14:30:51 +0000 (16:30 +0200)]
Various fixes

10 years agoCleaned up error handling by introducing the DAI_THROWE macro.
Joris Mooij [Mon, 7 Sep 2009 13:44:13 +0000 (15:44 +0200)]
Cleaned up error handling by introducing the DAI_THROWE macro.

10 years agoIntroduced DAI_DEBASSERT macro to abbreviate a common pattern
Joris Mooij [Fri, 4 Sep 2009 15:08:21 +0000 (17:08 +0200)]
Introduced DAI_DEBASSERT macro to abbreviate a common pattern

10 years agoChanged FactorGraph::clamp and DAIAlg::clamp interfaces
Joris Mooij [Wed, 2 Sep 2009 14:55:59 +0000 (16:55 +0200)]
Changed FactorGraph::clamp and DAIAlg::clamp interfaces

The variable to be clamped is now indicated by its index, not as a Var.
The old interface is marked obsolete

10 years ago[Patrick Pletscher] Fixed performance issue in FactorGraph::clamp and FactorGraph...
Joris Mooij [Sun, 16 Aug 2009 16:12:35 +0000 (18:12 +0200)]
[Patrick Pletscher] Fixed performance issue in FactorGraph::clamp and FactorGraph::clampVar

10 years agoEM bugfix. Convenience methods in Factor, Permute, Properties, EM.
Charles Vaske [Sat, 15 Aug 2009 18:27:51 +0000 (11:27 -0700)]
EM bugfix. Convenience methods in Factor, Permute, Properties, EM.

 -- Bugfix: was using abs() instead of fabs() in determining EM termination,
    which caused a loss of precision.
 -- New constructor in Permute for canonical variable ordering
 -- New constructor in Factor that reorders variables to canonical ordering
 -- New accessor in Properties for getting all keys
 -- New function for getting inferred parameters

10 years ago[Sebastian Nowozin] MEX file dai now also optionally returns the MAP state (only...
Joris Mooij [Tue, 11 Aug 2009 08:47:25 +0000 (10:47 +0200)]
[Sebastian Nowozin] MEX file dai now also optionally returns the MAP state (only for BP)

10 years ago[Sebastian Nowozin] Fixed memory leak in MatLab interface (dai.cpp)
Joris Mooij [Mon, 10 Aug 2009 19:59:05 +0000 (21:59 +0200)]
[Sebastian Nowozin] Fixed memory leak in MatLab interface (dai.cpp)

10 years agoFixed clean_updates bug in BBP by commenting out this feature
Joris Mooij [Thu, 6 Aug 2009 12:20:45 +0000 (14:20 +0200)]
Fixed clean_updates bug in BBP by commenting out this feature

10 years agoUpdated ChangeLog
Joris Mooij [Tue, 4 Aug 2009 15:37:38 +0000 (17:37 +0200)]
Updated ChangeLog

10 years agoMerge branch 'eaton'
Joris Mooij [Tue, 4 Aug 2009 15:35:49 +0000 (17:35 +0200)]
Merge branch 'eaton'

Conflicts:

ChangeLog
Makefile
include/dai/daialg.h

10 years agoUpdated ChangeLog
Joris Mooij [Tue, 4 Aug 2009 15:33:02 +0000 (17:33 +0200)]
Updated ChangeLog

10 years agoAdded CBP to README and to doxygen front page.
Joris Mooij [Tue, 4 Aug 2009 15:10:35 +0000 (17:10 +0200)]
Added CBP to README and to doxygen front page.

10 years agoUpdated ChangeLog
Joris Mooij [Tue, 4 Aug 2009 14:57:22 +0000 (16:57 +0200)]
Updated ChangeLog

10 years agoCleanup of CBP code
Joris Mooij [Tue, 4 Aug 2009 14:39:13 +0000 (16:39 +0200)]
Cleanup of CBP code

10 years agoEven more cleanup of BBP code
Joris Mooij [Tue, 4 Aug 2009 13:36:37 +0000 (15:36 +0200)]
Even more cleanup of BBP code

10 years agoCleanup of BBP code
Joris Mooij [Mon, 3 Aug 2009 15:44:14 +0000 (17:44 +0200)]
Cleanup of BBP code

10 years agoCleanup of BP_dual code
Joris Mooij [Fri, 31 Jul 2009 15:25:21 +0000 (17:25 +0200)]
Cleanup of BP_dual code

10 years agoMarked the backwards compatibility edge interface of BipartiteGraph as obsolete
Joris Mooij [Fri, 31 Jul 2009 14:22:12 +0000 (16:22 +0200)]
Marked the backwards compatibility edge interface of BipartiteGraph as obsolete

10 years agoVarious cleanups
Joris Mooij [Fri, 31 Jul 2009 14:11:30 +0000 (16:11 +0200)]
Various cleanups

10 years agoMEX file dai now also returns variable and factor beliefs.
Joris Mooij [Fri, 31 Jul 2009 13:30:17 +0000 (15:30 +0200)]
MEX file dai now also returns variable and factor beliefs.

10 years agoAdded MatLab Quickstart to the README
Joris Mooij [Fri, 31 Jul 2009 09:34:09 +0000 (11:34 +0200)]
Added MatLab Quickstart to the README

10 years agoAdded Charlie Vaske to the list of contributors
Joris Mooij [Wed, 29 Jul 2009 14:21:51 +0000 (16:21 +0200)]
Added Charlie Vaske to the list of contributors

10 years agoMerge branch 'vaske'
Joris Mooij [Wed, 29 Jul 2009 14:13:16 +0000 (16:13 +0200)]
Merge branch 'vaske'

10 years agoImproved documentation and coding style of EM code
Joris Mooij [Wed, 29 Jul 2009 14:07:52 +0000 (16:07 +0200)]
Improved documentation and coding style of EM code

10 years agoFixed bug in MaxSpanningTree
Joris Mooij [Tue, 28 Jul 2009 15:34:09 +0000 (17:34 +0200)]
Fixed bug in MaxSpanningTree

10 years agoSmall cleanup of EM code
Joris Mooij [Tue, 28 Jul 2009 15:33:13 +0000 (17:33 +0200)]
Small cleanup of EM code

10 years agoPolished EM code
Joris Mooij [Tue, 28 Jul 2009 14:20:52 +0000 (16:20 +0200)]
Polished EM code

10 years agoFixed testem failure caused by rounding error
Joris Mooij [Tue, 21 Jul 2009 11:35:19 +0000 (13:35 +0200)]
Fixed testem failure caused by rounding error

10 years agoRemoved all the virtual default constructors *::create(), as they are not used.
Joris Mooij [Mon, 20 Jul 2009 14:37:05 +0000 (16:37 +0200)]
Removed all the virtual default constructors *::create(), as they are not used.

10 years agoAdded BipartiteGraph::eraseEdge and some small cleanup
Joris Mooij [Mon, 20 Jul 2009 13:23:35 +0000 (15:23 +0200)]
Added BipartiteGraph::eraseEdge and some small cleanup

10 years agoCleaned up part of BP code
Joris Mooij [Fri, 17 Jul 2009 19:57:43 +0000 (21:57 +0200)]
Cleaned up part of BP code

10 years agoImprovements of TFactor<T>
Joris Mooij [Fri, 17 Jul 2009 16:55:48 +0000 (18:55 +0200)]
Improvements of TFactor<T>

- Extended functionality of TFactor<T>::operators +,-,+=,-= to handle different VarSets
- Added TFactor<T>::maxMarginal (similar to marginal but with max instead of sum)

10 years agoRenamed SampleData->Observation, changed Observation and Evidence
Joris Mooij [Thu, 16 Jul 2009 07:25:38 +0000 (09:25 +0200)]
Renamed SampleData->Observation, changed Observation and Evidence
by removing Observation::_name and changing the Evidence::_samples
variable from map<string,Observation> to vector<Observation>

10 years agoAdded EM code by Charlie Vaske (and cleaned up the style a bit)
Joris Mooij [Mon, 13 Jul 2009 11:02:29 +0000 (13:02 +0200)]
Added EM code by Charlie Vaske (and cleaned up the style a bit)

10 years agoFull command line inference and tests
Charlie Vaske [Tue, 30 Jun 2009 02:00:48 +0000 (19:00 -0700)]
Full command line inference and tests

10 years agoFirst working version of EM
Charlie Vaske [Mon, 29 Jun 2009 02:07:49 +0000 (19:07 -0700)]
First working version of EM

10 years agoFixed FTBFS bug on Windows
Joris Mooij [Mon, 8 Jun 2009 15:57:49 +0000 (17:57 +0200)]
Fixed FTBFS bug on Windows

10 years agoFixed a Windows build issue
Joris Mooij [Sat, 6 Jun 2009 15:03:38 +0000 (17:03 +0200)]
Fixed a Windows build issue
(removed include <ext/hash_map> in include/dai/bbp.h)

10 years agoRemoved erroneous 'inline' directives in gibbs.cpp
Joris Mooij [Wed, 3 Jun 2009 15:20:35 +0000 (17:20 +0200)]
Removed erroneous 'inline' directives in gibbs.cpp

11 years ago[Frederik Eaton] CBP and BBP now use automatically generated properties (using script...
Joris Mooij [Mon, 1 Jun 2009 11:45:25 +0000 (13:45 +0200)]
[Frederik Eaton] CBP and BBP now use automatically generated properties (using scripts/regenerate-properties)

11 years ago[Frederik Eaton] Major cleanup of BBP and CBP code and documentation
Joris Mooij [Mon, 1 Jun 2009 10:52:42 +0000 (12:52 +0200)]
[Frederik Eaton] Major cleanup of BBP and CBP code and documentation

- BBP: change to use Neighbor interface
- tests/aliases.conf: updated with new CBP properties
- Add doxygen documentation to headers

11 years ago[Frederik Eaton] Improved bp_dual
Joris Mooij [Mon, 1 Jun 2009 10:14:56 +0000 (12:14 +0200)]
[Frederik Eaton] Improved bp_dual

BP_dual is no longer an InfAlg, but calculates dual messages from
the beliefs of an existing InfAlg

11 years ago[Frederik Eaton] Several small changes
Joris Mooij [Mon, 1 Jun 2009 09:54:40 +0000 (11:54 +0200)]
[Frederik Eaton] Several small changes

- Updated doxygen.conf to version 1.5.9
- Removed bp_dual from alldai.h/cpp
- Added newInfAlgFromString to alldai.h/cpp
- Added rnd to util.h
- Added FactorGraph::clampVar and FactorGraph::clampFactor
- Changed BP to be able to record order in which messages are sent (for use by BBP)

11 years ago[Frederik Eaton] Change doxygen.conf to expand DAI_ACCMUT macro
Joris Mooij [Wed, 27 May 2009 16:11:33 +0000 (18:11 +0200)]
[Frederik Eaton] Change doxygen.conf to expand DAI_ACCMUT macro

11 years ago[Frederik Eaton] Improved documentation of BipartiteGraph::Neighbor
Joris Mooij [Mon, 25 May 2009 07:11:37 +0000 (09:11 +0200)]
[Frederik Eaton] Improved documentation of BipartiteGraph::Neighbor

11 years ago- [Frederik Eaton]: Misc smaller changes
Joris Mooij [Mon, 25 May 2009 06:48:22 +0000 (08:48 +0200)]
- [Frederik Eaton]: Misc smaller changes
  * include/dai/daialg.h: (InfAlg)
      Add beliefV, beliefF; create sensible default for 'virtual create()'
  * include/dai/properties.h: (PropertySet)
      Add default constructor
      Allow construction from string
      Add method allKeys() to produce list of keys
      In getStringAs(), check for typeid(ValueType) before typeid(std::string)
        (fixes strange bug for empty string property)
  * include/dai/util.h:
      Added comments for macros
      Added function to concatenate two vectors

11 years agoAdded workaround for bug in Boost Graph Library
Joris Mooij [Mon, 4 May 2009 15:14:27 +0000 (17:14 +0200)]
Added workaround for bug in Boost Graph Library

11 years agoSmall improvement to testdai warning message of previous commit.
Joris Mooij [Wed, 11 Mar 2009 09:19:35 +0000 (10:19 +0100)]
Small improvement to testdai warning message of previous commit.

11 years ago[Frederik Eaton] Change testdai help message to warn if the user is running a debuggi...
Joris Mooij [Wed, 11 Mar 2009 09:18:28 +0000 (10:18 +0100)]
[Frederik Eaton] Change testdai help message to warn if the user is running a debugging build

11 years agoTwo tiny improvements
Joris Mooij [Mon, 9 Mar 2009 20:04:40 +0000 (21:04 +0100)]
Two tiny improvements

11 years agoImprovements to BP_dual code
Joris Mooij [Fri, 6 Mar 2009 16:32:56 +0000 (17:32 +0100)]
Improvements to BP_dual code

11 years agoSome improvements to the new BP_dual/BBP/CBP code to make it compile
Joris Mooij [Wed, 4 Mar 2009 11:21:57 +0000 (12:21 +0100)]
Some improvements to the new BP_dual/BBP/CBP code to make it compile

11 years ago[Frederik Eaton] Added BP_Dual, BBP and CBP algorithms
Joris Mooij [Tue, 3 Mar 2009 13:49:10 +0000 (14:49 +0100)]
[Frederik Eaton] Added BP_Dual, BBP and CBP algorithms

11 years agoImproved build system by separating local config from the rest
Joris Mooij [Tue, 3 Mar 2009 13:40:59 +0000 (14:40 +0100)]
Improved build system by separating local config from the rest

11 years ago[Patrick Pletscher] Fixed typo in TProb::abs()
Joris Mooij [Tue, 3 Mar 2009 11:42:56 +0000 (12:42 +0100)]
[Patrick Pletscher] Fixed typo in TProb::abs()

11 years ago[Frederik Eaton] Improvements of Gibbs class
Joris Mooij [Tue, 3 Mar 2009 10:43:42 +0000 (11:43 +0100)]
[Frederik Eaton] Improvements of Gibbs class

* [Frederik Eaton] Added Gibbs::state() accessors/mutators
* [Frederik Eaton] Fixed Gibbs::getVarDist(size_t) to return uniform
  distribution if no state is allowed

11 years agoMerge branch 'eaton'
Joris Mooij [Tue, 3 Mar 2009 10:08:07 +0000 (11:08 +0100)]
Merge branch 'eaton'

Conflicts:

Makefile
src/bp.cpp
tests/testdai.cpp

Summary of changes done in branch 'eaton':
* [Frederik Eaton] Improved parsing code in tests/testdai to allow recursive
  alias substitutions
* Interface changes:
    TProb<T>::minVal()     -> TProb<T>::min()
    TFactor<T>::minVal()   -> TFactor<T>::min()
    TProb<T>::maxVal()     -> TProb<T>::max()
    TFactor<T>::maxVal()   -> TFactor<T>::max()
    TProb<T>::totalSum()   -> TProb<T>sum()
    TFactor<T>::totalSum() -> TFactor<T>::sum()
* [Frederik Eaton] Added methods setUniform (), sumAbs(), argmax() to TProb<T>
* [Frederik Eaton] Added TAGS, lib targets to Makefile
* [Frederik Eaton] Add useful aliases to aliases.conf

11 years ago[Frederik Eaton] Removed unnecessary copy constructors and assignment operators
Joris Mooij [Tue, 3 Mar 2009 09:40:37 +0000 (10:40 +0100)]
[Frederik Eaton] Removed unnecessary copy constructors and assignment operators

11 years ago[Frederik Eaton] Change cout to cerr in warnings and error messages
Joris Mooij [Tue, 3 Mar 2009 08:52:11 +0000 (09:52 +0100)]
[Frederik Eaton] Change cout to cerr in warnings and error messages

11 years agoMerge branch 'master' of git@git.tuebingen.mpg.de:libdai
Joris Mooij [Tue, 3 Mar 2009 08:42:22 +0000 (09:42 +0100)]
Merge branch 'master' of git@git.tuebingen.mpg.de:libdai

11 years ago[Giuseppe Passino] Optimised maximum-residual BP...
Joris Mooij [Tue, 3 Mar 2009 08:02:48 +0000 (09:02 +0100)]
[Giuseppe Passino] Optimised maximum-residual BP...

...by using a reversed ordered set instead of the linear search (which can
yield enormous speedups - a factor 500 has been measured on a binary Ising grid
with 128x128 variables!)

11 years agoMerge branch 'joris'
Joris Mooij [Mon, 2 Mar 2009 19:51:34 +0000 (20:51 +0100)]
Merge branch 'joris'

Conflicts:
example.cpp
include/dai/factor.h
include/dai/var.h
src/bp.cpp

11 years agoSeveral changes by Giuseppe Passino
Joris Mooij [Mon, 2 Mar 2009 19:35:36 +0000 (20:35 +0100)]
Several changes by Giuseppe Passino

- [Giuseppe Passino] Added BP::findMaximum(), which constructs a
  global state with maximum probability after running max-product
- [Giuseppe Passino] Added iterator interfaces to TProb, TFactor,
  and FactorGraph
- [Giuseppe Passino] Added prefix iterator to State
- [Joris Mooij] Added debug assertions to Var which check for
  inconsistent dimensions of variables with the same labels

11 years agoSmall update of README for Mac OS X
Joris Mooij [Tue, 17 Feb 2009 13:33:24 +0000 (14:33 +0100)]
Small update of README for Mac OS X

11 years agoAdded Quickstart for MacOSX to README and improved some exception handling code
Joris Mooij [Tue, 10 Feb 2009 11:05:33 +0000 (12:05 +0100)]
Added Quickstart for MacOSX to README and improved some exception handling code

11 years agoFixed exception handling in tests/testdai
Joris Mooij [Mon, 9 Feb 2009 17:12:02 +0000 (18:12 +0100)]
Fixed exception handling in tests/testdai

11 years agoUpdated ChangeLog
Joris Mooij [Mon, 9 Feb 2009 10:37:57 +0000 (11:37 +0100)]
Updated ChangeLog

11 years agoAdded simple factorgraph illustrating the clamping bug which has now been fixed.
Joris Mooij [Fri, 6 Feb 2009 09:54:31 +0000 (10:54 +0100)]
Added simple factorgraph illustrating the clamping bug which has now been fixed.

11 years agoAdded sprinkler example
Joris Mooij [Fri, 6 Feb 2009 09:05:53 +0000 (10:05 +0100)]
Added sprinkler example

11 years agoMiscellaneuos changes thanks to Dan Preston
Joris Mooij [Thu, 5 Feb 2009 08:48:36 +0000 (09:48 +0100)]
Miscellaneuos changes thanks to Dan Preston
* Improved Makefile (libDAI now also builds out-of-the-box on MacOSX,
  thanks to Dan Preston; merged Makefile.win and Makefile.shared into Makefile)
* Fixed bug in calcMarginal, calcPairBeliefs, calcPairBeliefsNew where
  states with zero probability mass were clamped, leading to NaNs or assertion
  errors (thanks to Dan Preston for reporting this)
* toc() now returns POSIX system time with maximum accuracy of microseconds
* Exception objects now remember their error code

11 years ago[Peter Gober] libDAI now compiles out-of-the-box under Cygwin
Joris Mooij [Wed, 24 Dec 2008 12:42:20 +0000 (13:42 +0100)]
[Peter Gober] libDAI now compiles out-of-the-box under Cygwin

11 years agoUpdated ChangeLog, README and some copyrights
Joris Mooij [Thu, 4 Dec 2008 15:24:31 +0000 (16:24 +0100)]
Updated ChangeLog, README and some copyrights

11 years agoFinished integrating Gibbs sampler by Frederik Eaton into libDAI
Joris Mooij [Wed, 19 Nov 2008 10:27:29 +0000 (11:27 +0100)]
Finished integrating Gibbs sampler by Frederik Eaton into libDAI

11 years agoRemoved cache because it's not always a performance improvement
Joris Mooij [Sun, 16 Nov 2008 14:37:55 +0000 (15:37 +0100)]
Removed cache because it's not always a performance improvement

11 years agoMade state a member variable of Gibbs, and added a cache for factor entries.
Joris Mooij [Sun, 16 Nov 2008 14:02:41 +0000 (15:02 +0100)]
Made state a member variable of Gibbs, and added a cache for factor entries.

11 years agoMerge branch 'master' into gibbs
Joris Mooij [Fri, 14 Nov 2008 16:03:12 +0000 (17:03 +0100)]
Merge branch 'master' into gibbs

11 years agoAdded Gibbs code provided by Frederik Eaton
Joris Mooij [Fri, 14 Nov 2008 15:55:13 +0000 (16:55 +0100)]
Added Gibbs code provided by Frederik Eaton

11 years agoSome small changes
Joris Mooij [Fri, 14 Nov 2008 15:52:50 +0000 (16:52 +0100)]
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

11 years agoChanged regression test so that it also works under Windows
Joris Mooij [Wed, 15 Oct 2008 11:32:26 +0000 (13:32 +0200)]
Changed regression test so that it also works under Windows

11 years agoMerged TODO and FILEFORMAT into doxygen documentation, switched Makefile.win to GNU...
Joris Mooij [Fri, 10 Oct 2008 19:37:18 +0000 (21:37 +0200)]
Merged TODO and FILEFORMAT into doxygen documentation, switched Makefile.win to GNU Make syntax

11 years agoImproved documentation of factor.h, ...
Joris Mooij [Fri, 10 Oct 2008 09:03:03 +0000 (11:03 +0200)]
Improved documentation of factor.h, ...

... and:
- updated ChangeLog
- Removed TFactor<T>::divided_by, use operator/ instead
- Removed TFactor<T>::divide, use operator/= instead
- Removed TFactor<T>::partSum(const VarSet&), use marginal(const VarSet&,true) instead

11 years agoFixed regression in TFactor::partSum
Joris Mooij [Thu, 9 Oct 2008 19:41:49 +0000 (21:41 +0200)]
Fixed regression in TFactor::partSum

11 years agoImproved documentation of include/dai/enum.h and include/dai/factor.h
Joris Mooij [Thu, 9 Oct 2008 19:35:05 +0000 (21:35 +0200)]
Improved documentation of include/dai/enum.h and include/dai/factor.h

11 years agoImproved documentation...
Joris Mooij [Thu, 9 Oct 2008 14:01:30 +0000 (16:01 +0200)]
Improved documentation...

... of examples/example.cpp, examples/example_bipgraph.cpp,
include/dai/prob.h, include/dai/smallset.h, include/dai/var.h,
include/dai/varset.h

Some small additional changes:
- Replaced TProb<T>::log0() by TProb<T>::log(true)
  and TProb<T>::takeLog0() by TProb<T>::takeLog(true)
- Replaced TFactor<T>::log0() by TFactor<T>::log(true)
- Removed TProb<T>::hasNonPositives()
- Added examples/example_varset.cpp
- Renamed smallSet<T> to SmallSet<T>
- Changed operator<< for Var and VarSet

11 years agoOops, correct previous partial commit.
Joris Mooij [Wed, 8 Oct 2008 14:11:13 +0000 (16:11 +0200)]
Oops, correct previous partial commit.

11 years agoImproved documentation of bipgraph.h and added example_bipgraph.cpp
Joris Mooij [Wed, 8 Oct 2008 14:10:05 +0000 (16:10 +0200)]
Improved documentation of bipgraph.h and added example_bipgraph.cpp

11 years agoCleanups of matlab, BP; small improvement of utils/fginfo
Joris Mooij [Wed, 8 Oct 2008 09:02:18 +0000 (11:02 +0200)]
Cleanups of matlab, BP; small improvement of utils/fginfo

11 years agoFixed some little typos in v0.2.2
Joris Mooij [Wed, 1 Oct 2008 12:41:18 +0000 (14:41 +0200)]
Fixed some little typos in v0.2.2

11 years agoSignificant improvement of documentation
Joris Mooij [Tue, 30 Sep 2008 20:29:50 +0000 (22:29 +0200)]
Significant improvement of documentation