Tiago Gomes
|
b996436b24
|
Reorganize
|
2012-12-27 15:05:40 +00:00 |
|
Tiago Gomes
|
de0a118ae5
|
Move belief propagation stuff out from Horus.h
|
2012-12-27 15:00:30 +00:00 |
|
Tiago Gomes
|
cbea630fbf
|
Cosmetic fixes
|
2012-12-27 12:54:58 +00:00 |
|
Tiago Gomes
|
8bdcb65907
|
Improve variable elimination
|
2012-12-26 22:55:48 +00:00 |
|
Tiago Gomes
|
188f359496
|
Fix a warning about a unitialized var
|
2012-12-26 21:48:05 +00:00 |
|
Tiago Gomes
|
d8c5725b2e
|
This shouldn't be on the repository
|
2012-12-21 15:20:28 +00:00 |
|
Tiago Gomes
|
4b901d26d7
|
Improve error messages
|
2012-12-20 23:34:53 +00:00 |
|
Tiago Gomes
|
01d8f8e178
|
More whitespace cleanups
|
2012-12-20 23:19:10 +00:00 |
|
Tiago Gomes
|
421d6f72ee
|
Place the constructor on the right place
|
2012-12-20 21:32:40 +00:00 |
|
Tiago Gomes
|
57339760b9
|
Merge LiftedKc and LiftedCircuit in one file
|
2012-12-20 21:11:51 +00:00 |
|
Tiago Gomes
|
b44ed7db39
|
Improve the error messages
|
2012-12-20 18:07:50 +00:00 |
|
Tiago Gomes
|
685f46dc27
|
Fix
|
2012-12-20 17:41:52 +00:00 |
|
Tiago Gomes
|
053fa31bb2
|
Exit is better than abort.
Also use a macro instead of integer to indicate failure.
|
2012-12-20 17:37:59 +00:00 |
|
Tiago Gomes
|
2ca31ca14a
|
Don't abort if opening a file to export to graphviz fails
|
2012-12-20 17:11:11 +00:00 |
|
Tiago Gomes
|
af8497af6e
|
Sort the logical vars of the constraint tree when exporting to graphviz
|
2012-12-20 16:20:38 +00:00 |
|
Tiago Gomes
|
046af409ba
|
Change the default solver to be hve
|
2012-12-19 18:25:47 +00:00 |
|
Tiago Gomes
|
c407594146
|
Whitespace clean
|
2012-12-19 18:22:47 +00:00 |
|
Tiago Gomes
|
60ff9daafd
|
Remove old example
|
2012-12-19 18:13:47 +00:00 |
|
Tiago Gomes
|
48254ba7d7
|
Lkc: fix some memory leaks
|
2012-12-19 17:45:53 +00:00 |
|
Tiago Gomes
|
2d1f5edc91
|
There is no more to do
|
2012-12-18 23:52:56 +00:00 |
|
Tiago Gomes
|
691188d5c9
|
Handle better formulas like f(X,X)
|
2012-12-18 23:51:51 +00:00 |
|
Tiago Gomes
|
0a661b0462
|
More cleanups
|
2012-12-18 22:47:43 +00:00 |
|
Tiago Gomes
|
4b0acbf8c1
|
Cleanups
|
2012-12-18 12:11:45 +00:00 |
|
Tiago Gomes
|
c7a4adcefb
|
Fix finalizing horus ground solvers on EM
|
2012-12-17 23:59:52 +00:00 |
|
Tiago Gomes
|
5fa5dda579
|
Remove BP from clpbn interface to EM
|
2012-12-17 23:29:21 +00:00 |
|
Tiago Gomes
|
e1c862ebbe
|
Refactor the way we set the inference solver
|
2012-12-17 23:14:54 +00:00 |
|
Tiago Gomes
|
f1499f99f3
|
Introduce set_em_solver and use it
|
2012-12-17 21:19:47 +00:00 |
|
Tiago Gomes
|
40a72a0a63
|
Improve error handling for choosing EM solver
|
2012-12-17 21:03:13 +00:00 |
|
Tiago Gomes
|
9861f4aadb
|
Is the EM solver that we want
|
2012-12-17 18:50:36 +00:00 |
|
Tiago Gomes
|
3eb6b76ddd
|
Whitespace clean
|
2012-12-17 18:39:42 +00:00 |
|
Tiago Gomes
|
2f2f88e571
|
Several whitespace fixes
|
2012-12-17 17:57:00 +00:00 |
|
Tiago Gomes
|
409a230826
|
Use the same convetion for module import and export
|
2012-12-17 14:50:12 +00:00 |
|
Tiago Gomes
|
2738c0fb56
|
Use tabs instead of spaces for consistency
|
2012-12-17 12:13:08 +00:00 |
|
Tiago Gomes
|
d03ea1509e
|
Trivial
|
2012-12-17 11:56:15 +00:00 |
|
Tiago Gomes
|
e35cf51476
|
Reorders and some reindentation
|
2012-12-17 11:53:57 +00:00 |
|
Tiago Gomes
|
9ff9be2f49
|
Don't pass around the Solver for EM
|
2012-12-15 16:11:03 +00:00 |
|
Tiago Gomes
|
81ac6f1913
|
Don't pass around the Solver in run_horus_ground_solver
|
2012-12-15 15:56:05 +00:00 |
|
Tiago Gomes
|
ea931f2f93
|
Comment
|
2012-12-15 00:41:00 +00:00 |
|
Tiago Gomes
|
55292ab745
|
Clean ups and don't forget cbp
|
2012-12-15 00:29:03 +00:00 |
|
Tiago Gomes
|
1174486576
|
VE???
|
2012-12-15 00:16:06 +00:00 |
|
Tiago Gomes
|
2996a0b8b3
|
Comment does not apply
|
2012-12-15 00:14:45 +00:00 |
|
Tiago Gomes
|
e5479ff17c
|
CLPBNs first, PFLs next
|
2012-12-15 00:13:53 +00:00 |
|
Tiago Gomes
|
971b8b7487
|
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
|
2012-12-13 23:48:16 +00:00 |
|
Tiago Gomes
|
eea7ce2885
|
Fix file names
|
2012-12-13 19:02:04 +00:00 |
|
Tiago Gomes
|
0594d43539
|
Cosmetic fixes
|
2012-12-13 17:51:43 +00:00 |
|
Tiago Gomes
|
05e53eaf37
|
Merge sch32 and school32_data and rename to school_32
|
2012-12-13 17:08:54 +00:00 |
|
Tiago Gomes
|
6b8301d9c4
|
CLP(BN) is dead. Long live the PFL
|
2012-12-13 17:04:14 +00:00 |
|
Tiago Gomes
|
d78baa48a1
|
Don't special case the tables in city.pfl
Its hard to make them work in lifted networks
:
|
2012-12-13 16:50:39 +00:00 |
|
Vitor Santos Costa
|
c4448d066a
|
allow backtracking over possible values of constraints.a
|
2012-12-13 15:53:01 +00:00 |
|
Tiago Gomes
|
8b996c5dc9
|
Lkc: show that we exported the circuit to graphviz when debugging
|
2012-12-13 14:21:16 +00:00 |
|
Tiago Gomes
|
48413deae7
|
Ops: deleted this by accident in the previous commit
|
2012-12-13 14:08:16 +00:00 |
|
Tiago Gomes
|
dd8a92aaf3
|
Merge with upstream code
|
2012-12-13 12:55:55 +00:00 |
|
Tiago Gomes
|
11e688ffd7
|
Lkc: use utility function
|
2012-12-12 21:19:22 +00:00 |
|
Tiago Gomes
|
f2173d001e
|
Lkc: fix bug when adding weights
|
2012-12-12 21:16:36 +00:00 |
|
Tiago Gomes
|
c7588c9361
|
Trivial
|
2012-12-12 17:03:11 +00:00 |
|
Tiago Gomes
|
4683d30d8e
|
Trivial
|
2012-12-12 17:01:30 +00:00 |
|
Tiago Gomes
|
39bf95fe2b
|
trivial
|
2012-12-12 16:28:18 +00:00 |
|
Tiago Gomes
|
8eb657aec2
|
Change extension of school parschema to pfl
|
2012-12-12 16:00:21 +00:00 |
|
Tiago Gomes
|
0f46c97481
|
Trivial
|
2012-12-12 15:47:09 +00:00 |
|
Tiago Gomes
|
e66ff6777c
|
Be consistent: constraint is always on top
|
2012-12-12 15:41:41 +00:00 |
|
Tiago Gomes
|
66cd58655b
|
Place the debug_school predicate into a different file
|
2012-12-12 15:36:38 +00:00 |
|
Tiago Gomes
|
01dfc5e2be
|
Change extension of school_params
school_params does not define any pfl network, so it shouldn't have pfl as the extension
|
2012-12-12 15:26:49 +00:00 |
|
Tiago Gomes
|
108e310a0f
|
Rework the learning examples
|
2012-12-12 15:16:30 +00:00 |
|
Tiago Gomes
|
f128b6de7a
|
school_32 should use clp(bn)
|
2012-12-12 00:27:32 +00:00 |
|
Tiago Gomes
|
27a235f65b
|
Remove text explaning pfl.
The text is badly written and explanaing pfl shouldn't be in *.pfl files, but rather in paper or README file
|
2012-12-11 23:36:10 +00:00 |
|
Tiago Gomes
|
4310e42562
|
rework examples
|
2012-12-11 23:06:09 +00:00 |
|
Tiago Gomes
|
ccba2d4177
|
update Makefile to reflect the change of extension to .pfl
|
2012-12-11 21:02:26 +00:00 |
|
Tiago Gomes
|
1641d1fa30
|
Remove files that souldn't be in the repository
|
2012-12-11 16:22:38 +00:00 |
|
Tiago Gomes
|
47bc8f22fc
|
Examples: sprinker was converted from clpbn to pfl
|
2012-12-11 16:20:55 +00:00 |
|
Tiago Gomes
|
d8a7b7aad6
|
Examples: change extension to pfl
|
2012-12-11 16:19:59 +00:00 |
|
Tiago Gomes
|
a59c152962
|
Lkc: Fix smoothing in atom counting nodes
|
2012-12-11 16:02:48 +00:00 |
|
Tiago Gomes
|
bb68afe91d
|
Fix an error caused by a temporary being out of scope
|
2012-12-11 15:52:20 +00:00 |
|
Tiago Gomes
|
1d732594e2
|
smooth circuit
Smooth the circuit independent of the verbosity level, but don't smooth it when the compilation has fail.
|
2012-12-10 19:39:09 +00:00 |
|
Tiago Gomes
|
8371e395dd
|
fix typo
|
2012-12-10 19:37:41 +00:00 |
|
Tiago Gomes
|
a25f4584c8
|
support printing LitLvTypes objects
|
2012-12-10 18:48:54 +00:00 |
|
Tiago Gomes
|
9c8827c309
|
always copy clauses for backup
|
2012-12-09 22:57:39 +00:00 |
|
Tiago Gomes
|
90736156ae
|
some clean ups
|
2012-12-09 22:13:58 +00:00 |
|
Tiago Gomes
|
e46d2177b7
|
rework a bit the test infrastructure for lkc
|
2012-12-09 22:04:33 +00:00 |
|
Tiago Gomes
|
907144db32
|
don't use a stack for atom counting operator
|
2012-12-09 19:46:14 +00:00 |
|
Tiago Gomes
|
57a31c2c36
|
fix showing the weights on edge labels when there is a SetOrNode ancestor
|
2012-12-09 17:33:36 +00:00 |
|
Tiago Gomes
|
59f653aabd
|
move implementation of copyClauses to another file
|
2012-12-08 19:32:19 +00:00 |
|
Tiago Gomes
|
4edbcf86b8
|
Use pointers to refer to clauses for better performance
|
2012-12-08 19:17:19 +00:00 |
|
Tiago Gomes
|
73b3594c97
|
lifted kc: when not debuging don't keep track of the origin clauses
|
2012-12-07 11:47:50 +00:00 |
|
Tiago Gomes
|
ee1b7dcd21
|
abort when compilation failed
|
2012-11-27 16:54:02 +00:00 |
|
Vítor Santos Costa
|
e529e79582
|
more progress
|
2012-11-27 12:10:41 +00:00 |
|
Tiago Gomes
|
610e55a4a2
|
Improve debbuging for lifted knowledge compilation
|
2012-11-26 14:46:45 +00:00 |
|
Tiago Gomes
|
1f1d194326
|
remove unnecessary std set
|
2012-11-26 14:46:00 +00:00 |
|
Tiago Gomes
|
a2429a1eec
|
Merge branch 'master' of github.com:tacgomes/yap6.3
|
2012-11-26 11:48:24 +00:00 |
|
Tiago Gomes
|
e09c25bd59
|
remove grounding stub form lifted knowledge compilation. its hard to implement
|
2012-11-22 16:34:24 +00:00 |
|
Tiago Gomes
|
4afe6c8161
|
refactor horus_ground and horus_lifted
|
2012-11-22 16:33:22 +00:00 |
|
Tiago Gomes
|
992d06656d
|
refactor horus_ground.yap
|
2012-11-22 15:54:30 +00:00 |
|
Vitor Santos Costa
|
027632456a
|
Merge branch 'master' of https://github.com/tacgomes/yap6.3
|
2012-11-22 12:29:37 +00:00 |
|
Vitor Santos Costa
|
bb4d75f428
|
avoid messing up lifted solvers
|
2012-11-22 12:27:33 +00:00 |
|
Tiago Gomes
|
85db763d9c
|
small improvement in HorusYap
|
2012-11-16 22:38:14 +00:00 |
|
Tiago Gomes
|
51eef45b2d
|
refactor HorusYap
|
2012-11-16 17:10:04 +00:00 |
|
Tiago Gomes
|
59fd21bf33
|
use only 1 lifted solver instance
|
2012-11-16 16:50:19 +00:00 |
|
Tiago Gomes
|
c2791748d2
|
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
|
2012-11-16 00:57:41 +00:00 |
|
Vitor Santos Costa
|
114a6732f0
|
add_factor should succeed if Constraints are satisfied
|
2012-11-15 17:28:57 +00:00 |
|
Tiago Gomes
|
51fd48cd46
|
Ouchgit statusgit status! forgot to add these to index
|
2012-11-14 23:17:39 +00:00 |
|
Tiago Gomes
|
4522850cd6
|
one step close to use one solver instatiation to solve several queries
|
2012-11-14 23:13:46 +00:00 |
|