Commit Graph

141 Commits

Author SHA1 Message Date
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
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