Commit Graph

5890 Commits

Author SHA1 Message Date
Tiago Gomes
d86e2c8386 don't raise counting log vars before multiplication 2012-04-28 01:10:04 +01:00
Tiago Gomes
1173b4c25b when expanding a counting formula, check if the expanded log vars are still counting log vars 2012-04-28 01:01:23 +01:00
Tiago Gomes
52f4aa0340 sort the parfactors by their parameters when printing 2012-04-27 19:10:22 +01:00
Vítor Santos Costa
2bfc88db98 fix module dereferencing. 2012-04-27 16:30:23 +01:00
Vítor Santos Costa
067d6d3f4f fix problog experiment. 2012-04-27 16:30:02 +01:00
Vítor Santos Costa
5ee39c6f08 back to original version. 2012-04-27 16:20:40 +01:00
Vítor Santos Costa
9e36576951 fix implicit import 2012-04-27 15:52:03 +01:00
Vítor Santos Costa
6bb4db125d fix names. 2012-04-27 15:33:32 +01:00
Vítor Santos Costa
60184e230d new lbdd stuff. 2012-04-27 15:32:57 +01:00
Vítor Santos Costa
ceb0c1f5ac new support file. 2012-04-27 15:32:17 +01:00
Vítor Santos Costa
823066f9da use library for learning. 2012-04-27 15:30:39 +01:00
Vítor Santos Costa
fd4bf21ece fix file names. 2012-04-27 15:26:44 +01:00
Tiago Gomes
20fc2c8dd1 add debug information to variable elimination 2012-04-27 14:48:48 +01:00
Tiago Gomes
9e1a649262 raising the paramaters to some power should happen after summing out, not before 2012-04-27 14:47:30 +01:00
Tiago Gomes
7599ccd5a1 don't print the paramaters if they are more than 32 2012-04-27 01:19:28 +01:00
Tiago Gomes
af063dcda8 be more precise when calculating the cost of grounding a log var in a formula 2012-04-27 01:18:54 +01:00
Tiago Gomes
995a11be83 improvements in the way we align logical variables 2012-04-26 18:00:06 +01:00
Vítor Santos Costa
fd755f0b7e allow ProbLog to use lbdd. 2012-04-26 13:52:09 +01:00
Tiago Gomes
cc09e77707 remove unnecessary variable 2012-04-26 00:58:06 +01:00
Tiago Gomes
689244a0d8 improve cbp by supporting factors connected to a single var two or more times 2012-04-26 00:54:06 +01:00
Tiago Gomes
ad24a360ce Add a way to summout a dimension given a index instead of a variable id.
This is required for counting belief propagation.
2012-04-25 22:59:01 +01:00
Vítor Santos Costa
c3eb3db4ed call gc if we set dead mega clauses. 2012-04-23 23:28:41 +01:00
Vítor Santos Costa
5b443bdc46 fix marking of dead mega clauses */ 2012-04-23 23:24:35 +01:00
Tiago Gomes
fc362fe123 reorder the parameters instead of reordering variables 2012-04-23 22:57:04 +01:00
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
Ricardo Rocha
cd5e1211c5 Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2012-04-23 18:57:14 +01:00
Ricardo Rocha
42631bcc71 missing cache regs 2012-04-23 18:57:10 +01:00
Vítor Santos Costa
d7c7ef1c01 ifix signdeness stuff. 2012-04-23 17:26:49 +01:00
Vítor Santos Costa
fe82747031 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2012-04-23 15:51:05 +01:00
Vítor Santos Costa
24d09ffde5 fix trailing issues in numbervars. 2012-04-23 15:50:01 +01:00
Ricardo Rocha
a6ff7528d1 missing variable declaration 2012-04-23 15:39:49 +01:00
Vitor Santos Costa
f24bf2e2cd full school 2012-04-23 07:13:58 -05:00
Vitor Santos Costa
32a905bc8b ddnnf support 2012-04-23 07:13:25 -05:00
Vitor Santos Costa
040c1c7fa7 more ddnnf stuff 2012-04-23 07:13:01 -05: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
Vítor Santos Costa
a9434aed37 more gc changes. 2012-04-20 23:45:16 +02:00
Vitor Santos Costa
3aee05ae9e Merge branch 'master' of /home/vitor/yap-6.3 2012-04-20 16:44:27 -05:00
Vitor Santos Costa
22f702f8e4 ddnnfs. 2012-04-20 16:43:30 -05:00
Vitor Santos Costa
220f7e6efc support mtbdds. 2012-04-20 16:42:59 -05: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
Vitor Santos Costa
178ad27db8 better understanding of ddnnf. 2012-04-20 07:07:19 -05:00
Vítor Santos Costa
e11d8bbda1 fix module generating detection and messages. 2012-04-20 12:29:10 +02:00
Vítor Santos Costa
753170bf7c fix synatx error. 2012-04-20 12:28:42 +02: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
Vitor Santos Costa
c3da25227f Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2012-04-19 01:01:11 -05:00