Commit Graph

322 Commits

Author SHA1 Message Date
Tiago Gomes
66353e67ec some refactorings 2012-04-16 21:42:14 +01:00
Tiago Gomes
0d5888e238 assign evidence to the pruned factor graph 2012-04-16 21:40:28 +01:00
Tiago Gomes
b27500e93f add nrVarNodes and nrFacNodes 2012-04-16 19:29:55 +01:00
Tiago Gomes
6f7d2af718 add another sorted vector implementation 2012-04-15 21:51:12 +01:00
Tiago Gomes
c32ad3de0a use a sorted vector to store the node childs 2012-04-15 21:44:27 +01:00
Tiago Gomes
5e7b660f44 use iterators instead off indices 2012-04-15 03:19:15 +01:00
Tiago Gomes
62fedf014b workaround garbage collector error 2012-04-14 18:00:12 +01:00
Tiago Gomes
f1d2889eaa fix warning about uninitialized var 2012-04-14 17:59:04 +01:00
Tiago Gomes
401ad145a5 improve the way the factor graph is constructed from a set from factors 2012-04-14 17:57:24 +01:00
Tiago Gomes
f6e3bb4481 don't assert when suming numbers with negative infinity 2012-04-13 23:12:12 +01:00
Tiago Gomes
24a5fe9c23 add typedef 2012-04-13 15:56:37 +01:00
Tiago Gomes
05ef8610f4 fix warning 2012-04-13 15:47:41 +01:00
Tiago Gomes
00faccd940 implement a printSolverParameters in ground solvers 2012-04-13 15:22:24 +01:00
Tiago Gomes
f3be68a552 add a way to print bool vars 2012-04-13 15:21:11 +01:00
Tiago Gomes
15c8f3abc6 ops 2012-04-12 18:46:21 +01:00
Tiago Gomes
5348c4a989 comment debug information in some prolog files 2012-04-12 18:35:29 +01:00
Vítor Santos Costa
5a8cc421d2 small pfl fixes. 2012-04-12 18:11:29 +01:00
Vítor Santos Costa
c5f42cd7eb more pfl changes. 2012-04-12 17:24:39 +01:00
Vítor Santos Costa
8c2dd1f847 fix bad call for parameters. 2012-04-12 17:17:21 +01:00
Vítor Santos Costa
28ce2da3dc Merge branch 'master' of https://github.com/tacgomes/yap6.3 2012-04-12 17:07:19 +01:00
Tiago Gomes
9def6c2b15 tempary hack to fix cbp and clean in benchs.sh 2012-04-12 00:42:55 +01:00
Tiago Gomes
564958ef8d improvements on benchmarkings 2012-04-11 23:48:59 +01:00
Tiago Gomes
03013960d3 refactor the city benchmarks and introduce set_solver/1 2012-04-11 19:15:52 +01:00
Tiago Gomes
f2fbbf29d8 rework the examples and erase the city network in the old format 2012-04-11 15:36:50 +01:00
Tiago Gomes
8697fcd2b4 refactorings 2012-04-10 20:43:08 +01:00
Tiago Gomes
78e86a6330 refactor ground solver interface 2012-04-10 15:00:18 +01:00
Tiago Gomes
46e6a10625 convert city dataset to new format 2012-04-10 12:56:14 +01:00
Tiago Gomes
b52dc99914 refactorings 2012-04-10 12:53:52 +01:00
Tiago Gomes
aa1b2e40ea some renamings 2012-04-10 11:51:56 +01:00
Tiago Gomes
6986e8c0d7 Improvements
Factor nodes now contain a factor object instead of a pointer. Refactor the way .fg and .uai formats are readed.
2012-04-09 15:40:51 +01:00
Tiago Gomes
f1d52c0389 add missing files 2012-04-05 23:04:27 +01:00
Tiago Gomes
d1b25f0864 renamings and delete bn_bp stuff 2012-04-05 23:00:48 +01:00
Tiago Gomes
b28ee8fb3a drop bayesian network representation 2012-04-05 20:08:54 +01:00
Tiago Gomes
abb0410d07 drop suport for Pearl belief propagation 2012-04-05 19:34:37 +01:00
Tiago Gomes
0d23591058 Add support to markov networks 2012-04-05 18:38:56 +01:00
Vítor Santos Costa
bc2364c5dc small fixes 2012-04-04 08:29:20 +01:00
Tiago Gomes
6c3add2ebd first steps in adapting horus ground solvers to pfl 2012-04-03 19:53:27 +01:00
Vítor Santos Costa
2bdec8f725 more PFL fixes. 2012-04-03 17:12:58 +01:00
Vítor Santos Costa
14d142aa10 new example. 2012-04-03 16:23:26 +01:00
Vítor Santos Costa
65e0c3b2a2 more PFL changes. 2012-04-03 16:22:40 +01:00
Vítor Santos Costa
6ccd458ea5 Merge branch 'master' of https://github.com/tacgomes/yap6.3
Conflicts:
	packages/CLPBN/clpbn/bp.yap
	packages/CLPBN/clpbn/fove.yap
	packages/CLPBN/clpbn/horus.yap
2012-04-03 15:07:22 +01:00
Vítor Santos Costa
44cb6abcb6 PFL support. 2012-04-03 15:01:35 +01:00
Vítor Santos Costa
e130c26c6d improve bdd support. 2012-04-03 15:01:14 +01:00
Tiago Gomes
911b241ad6 fix align of logical variables 2012-04-03 11:58:21 +01:00
Tiago Gomes
fd8980642b another test 2012-04-01 00:23:03 +01:00
tgomes
c6128c51e8 this is a test 2012-03-31 23:59:05 +01:00
Tiago Gomes
e9cc1a8be2 remove unnecessary files 2012-03-31 23:44:08 +01:00
Tiago Gomes
313f9a036a yay, my first commit 2012-03-31 23:27:37 +01:00
tgomes
24b466db4e new version. 2012-03-29 12:24:29 +01:00
Vítor Santos Costa
0a9076bf4a bdd 2012-03-28 10:59:26 +01:00
Vítor Santos Costa
cd45c64dcc allow optimisation and preserve ordering. 2012-03-27 14:57:12 +01:00
Vítor Santos Costa
52e5fdb6aa fix typo and export extra 2012-03-25 21:42:49 +01:00
Vítor Santos Costa
7d6b2435e0 fix typo and export extra 2012-03-25 21:42:39 +01:00
Vítor Santos Costa
a38177207d use safer method 2012-03-25 21:41:03 +01:00
Vítor Santos Costa
b6d5b79789 force parent unification when binding two variables with same key 2012-03-25 21:40:29 +01:00
Vítor Santos Costa
7d6461a527 fix order. 2012-03-23 22:26:31 +00:00
Vítor Santos Costa
07335ce047 clp(bn) support 2012-03-22 23:24:09 +00:00
Vítor Santos Costa
6b1574757e fix dist usage. 2012-03-22 22:32:50 +00:00
Vítor Santos Costa
f5f13541c6 old new syntax 2012-03-22 22:23:20 +00:00
Vítor Santos Costa
4c1602b74b old syntax example. 2012-03-22 22:22:16 +00:00
Vítor Santos Costa
a338b95d3f add more support for FOVE. 2012-03-22 19:10:15 +00:00
Vítor Santos Costa
7d4f83ca40 improve examples. 2012-03-22 19:09:31 +00:00
Vítor Santos Costa
172f59cee5 ifix interface to clp(bn) machinery. 2012-03-22 19:08:36 +00:00
Vitor Santos Costa
c85e76f20f new fove version. 2012-03-22 11:40:24 +00:00
Vitor Santos Costa
6191dd210b new version 2012-03-22 11:35:54 +00:00
Vitor Santos Costa
21d317b223 new version of bp 2012-03-22 11:33:24 +00:00
Vitor Santos Costa
6e36498cac new version. 2012-03-22 11:29:46 +00:00
Vítor Santos Costa
a25c97c295 fove initial skeleton.w 2012-01-10 17:01:06 +00:00
Vítor Santos Costa
bf12f320fe fix CPT handling in aggregates. 2011-12-27 22:08:21 +00:00
Vítor Santos Costa
8f3eabef1d support parfactors, first step. 2011-12-27 22:07:42 +00:00
Vítor Santos Costa
7df0fd90f5 Changes by Tiago 2011-12-12 15:30:24 +00:00
Vítor Santos Costa
33bf0bc0f5 new release from Tiago 2011-12-12 15:29:51 +00:00
Vítor Santos Costa
03391e3feb New Version From Tiago 2011-12-10 23:12:10 +00:00
Vítor Santos Costa
dbcb6e530c New Version From Tiago 2011-12-10 22:58:43 +00:00
Vítor Santos Costa
2f6ec5ff59 improve learning for CLP(BN). 2011-11-30 13:04:13 +00:00
Vitor Santos Costa
e56e1cbacb small fixes 2011-09-24 21:39:37 +01:00
Vitor Santos Costa
b2dcc47f9c fix evidence problems. 2011-09-24 21:38:59 +01:00
Vitor Santos Costa
dd9aa08eec fix aleph-params install 2011-09-24 21:37:50 +01:00
Vítor Santos Costa
5baf42320b recompute tables when commit. 2011-09-20 09:55:09 +01:00
Vítor Santos Costa
bfc1def1d5 imake sure mutable is available. 2011-09-20 09:54:30 +01:00
Vítor Santos Costa
4855c3460a improve memory usage when storing piointers to evidence facts. 2011-09-15 15:49:57 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
69e5fed10f new version of belief propagation solver. 2011-07-22 21:33:30 +01:00
Vitor Santos Costa
45e5e3b983 work if ipackages are missing and some cleanups. 2011-07-13 15:31:22 +01:00
Vitor Santos Costa
9727f3c71c fix warning messages. 2011-07-04 22:36:34 +01:00
Vitor Santos Costa
21050891ee city example. 2011-07-02 09:49:12 +01:00
Vítor Santos Costa
866d2130af disable make_index for now. 2011-06-14 09:39:19 +01:00
Vitor Santos Costa
f04a153e42 flag unavailable before gcc-4.2 2011-06-11 23:07:02 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
d685b8891f fix compilation flag. 2011-06-06 12:29:28 +01:00
Vítor Santos Costa
b1a3b925ae handle variable destroyed by garbage collector. 2011-06-03 12:54:09 +01:00
Vítor Santos Costa
56d71e55b4 remove unecesary files. 2011-06-03 12:26:10 +01:00
Vitor Santos Costa
e9171547b9 implementation of bayes ball. 2011-05-27 21:34:55 +01:00
Vitor Santos Costa
b3bd547f55 vel -> ve 2011-05-21 00:27:25 +01:00
Vitor Santos Costa
27dbe24b9e just link if variables have evidence, we can discard other unused variables. 2011-05-21 00:19:53 +01:00
Vitor Santos Costa
adcc2797e1 make sure query variables are accessible from top-level. 2011-05-21 00:15:20 +01:00
Vitor Santos Costa
55e2e6fe3a small fixes 2011-05-20 23:56:12 +01:00
Vitor Santos Costa
6d4d2b5830 fix Makefile for bp 2011-05-19 09:23:32 +01:00
Vitor Santos Costa
b7379a67cc Update CLP(BN) with Tiago's latest version of BP solver. 2011-05-17 12:00:33 +01:00
Vitor Santos Costa
85c91d72b6 fix example path 2011-05-02 23:28:37 +01:00
Vítor Santos Costa
81093f7edd HMM example. 2011-05-01 22:58:35 +01:00
Vítor Santos Costa
63d8536711 move examples upwards. 2011-05-01 22:49:34 +01:00
Vitor Santos Costa
f3debd2f49 fix modules.y 2011-03-24 21:26:01 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
752fa4fc53 support windows compilation, upgrade to current uxnt. 2011-03-09 00:02:21 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a3f79cede9 WINDOWS compatibility 2011-03-08 00:03:50 +00:00
Vítor Santos Costa
31909e3741 fix makefile rules.
fix dtoa for 64 bit machines
2011-03-01 09:18:19 +00:00
Vítor Santos Costa
fbdac55317 rm Makefile, we have Makefile.in 2011-02-25 12:05:51 +00:00
Vítor Santos Costa
11f4ac0e52 remove dump files. 2011-02-25 12:04:46 +00:00
Vítor Santos Costa
6ea0b727e0 delete executable. 2011-02-23 15:35:17 +00:00
Vítor Santos Costa
29e46cbab9 Experimental code for Tiago Gomes bp solver. 2011-02-23 15:31:56 +00:00
Vitor Santos Costa
8690fb8ca0 make clp(bn) work again. 2010-06-30 17:54:58 +02:00
Vítor Santos Costa
7e1692bdb0 fix mess with LIBDIR and YAPLIBDIR
use -Wl,-WR in a more consistent way in Linux
use --with-java instead of --with-jpl
2010-06-01 00:38:42 +01:00
Vitor Santos Costa
2685a8449d installation patches from Keri Harris 2010-03-05 08:15:02 +00:00
Vitor Santos Costa
abec8208d3 export operator. 2010-03-04 23:42:17 +00:00
Vitor Santos Costa
b2eb437625 minor changes to CLP(BN). 2009-10-21 00:05:23 +01:00
Vitor Santos Costa
307446d000 improve evidence handling in CLP(BN). 2009-09-09 18:02:09 -05:00
Vitor Santos Costa
a10bf47a0c improve stochastic grammar learning (work in progress). 2009-05-26 10:49:04 -05:00
Vitor Santos Costa
6fd5e592d3 support probabilistic grammars from CLPBN 2009-05-02 14:22:54 -05:00
Vitor Santos Costa
1f7b839e85 support exporting top-level-work as absolute path 2009-05-02 14:11:54 -05:00
Vitor Santos Costa
4188091d01 fix case where we have multiple marginals. 2009-03-19 09:52:25 +00:00
Vitor Santos Costa
9c9444bece update package locations to a subdir packages 2009-02-16 12:23:29 +00:00