Commit Graph

5627 Commits

Author SHA1 Message Date
Tiago Gomes
0ebd6d6e06 improve constructor of VarNode 2012-04-23 22:40:36 +01:00
Tiago Gomes
3397f694fe sort the variable ids when printing all posterioris 2012-04-23 22:12:04 +01:00
Tiago Gomes
d90fcd532b minor update 2012-04-21 17:21:54 +01:00
Tiago Gomes
8c689665a0 support setting flags in horus cli and fix a bug when ordering the variables 2012-04-21 17:14:19 +01:00
Tiago Gomes
085ebe1e96 check for overflows when performing expansion
case the factor size after expansion be bigger than an unsigned integer, abort the program
2012-04-20 17:16:10 +01:00
Tiago Gomes
0ffa409a80 fix a bug when expanding potential 2012-04-20 14:50:14 +01:00
Tiago Gomes
09697b8461 heuristic to improve results with fove 2012-04-19 18:37:15 +01:00
Tiago Gomes
2b7da4bc23 refactor the way we calculate the grounding cost 2012-04-19 17:59:45 +01:00
Tiago Gomes
661ce08961 check if the factor is not zero when choosing the elimination order 2012-04-19 12:08:27 +01:00
Tiago Gomes
cd1e157019 sort the colors in the signature receveied from a factor (add std namespace) 2012-04-18 19:29:43 +01:00
Tiago Gomes
7c100c96bc sort the colors in the signature receveied from a factor 2012-04-18 19:29:11 +01:00
Tiago Gomes
862e90a36b fix bug in joining constraint trees 2012-04-18 18:14:15 +01:00
Tiago Gomes
61ee95d92a use logarithms to calculate the cost of each fove operator 2012-04-18 16:40:12 +01:00
Tiago Gomes
406276b62b add missing scripts 2012-04-18 13:53:34 +01:00
Tiago Gomes
a7f57bea99 several optimizations on ConstraintTree 2012-04-18 03:05:01 +01:00
Tiago Gomes
cd720497f8 update groups when shattering 2012-04-18 03:04:06 +01:00
Tiago Gomes
bb5d02dbc0 minor updates 2012-04-18 03:03:29 +01:00
Tiago Gomes
dacf6b4e57 update examples 2012-04-18 02:57:24 +01:00
Tiago Gomes
d22b5a97fd add missing scripts 2012-04-18 02:52:31 +01:00
Tiago Gomes
b7e9245f26 refactor and add more benchmarks scripts 2012-04-18 02:49:33 +01:00
Tiago Gomes
d8e757f9ab improvements in the way factorials are computed 2012-04-18 02:46:38 +01:00
Tiago Gomes
cd8714460e add a way of calculate factorials of large numbers 2012-04-17 20:24:40 +01:00
Tiago Gomes
f02d0fb798 add more api to sorted vector implementation 2012-04-17 19:02:56 +01:00
Tiago Gomes
5e88510a7d use convenience function 2012-04-16 21:48:13 +01:00
Tiago Gomes
6ab5a4668b change align of some functions 2012-04-16 21:47:06 +01:00
Tiago Gomes
dd0ae564ef adapt to changes in CFactorGraph 2012-04-16 21:45:52 +01:00
Tiago Gomes
779f4ea2ce fix debuging information and s/ds/range 2012-04-16 21:44:04 +01:00
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
Vítor Santos Costa
27dc66a5f4 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-04-11 22:09:15 +01:00