Tiago Gomes
7ecfb999d5
Style change
2013-04-11 23:06:13 +01:00
Tiago Gomes
de6d7981fb
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2013-04-11 22:28:41 +01:00
Vítor Santos Costa
4ab4f1cab1
allow integer parameters.
2013-04-07 08:18:13 -05:00
Tiago Gomes
2da7249247
Trivial
2013-03-09 17:14:00 +00:00
Tiago Gomes
902624f557
f(void) vs f()
...
"In fact, the f(void) style has been called an "abomination" by Bjarne Stroustrup, the creator of C++, Dennis Ritchie, the co-creator of C, and Doug McIlroy, head of the research department where Unix was born."
2013-02-28 19:45:37 +00:00
Tiago Gomes
8c2468c28b
Improve encapsulation in HorusYap and perform other small refactorings
2013-02-20 11:52:42 +00:00
Tiago Gomes
b6ee7b4460
Don't extend explicity the life time of returned temporaries.
...
That sort of optimization is compiler's work.
2013-02-16 18:58:22 +00:00
Tiago Gomes
acb4bf610f
Clean HorusYap a bit
2013-02-16 01:54:11 +00:00
Tiago Gomes
ef4ebb4d7f
Use camel case for constants and enumerators.
...
All capitals case should be reserved for macros and besides there is no big need to emphasize constness in general.
2013-02-13 18:54:15 +00:00
Tiago Gomes
e178c1af04
Change namespace name to be in Pascal case
2013-02-08 21:12:46 +00:00
Tiago Gomes
6a1a209ee3
Revert "Improve namespace names"
...
This reverts commit 973df43fe0
.
On a second thought, namespaces are close to classes in the sense that both encapsulate data, so they should both use Pascal case notation.
2013-02-08 21:01:53 +00:00
Tiago Gomes
973df43fe0
Improve namespace names
2013-02-08 00:15:41 +00:00
Tiago Gomes
6f83ceb6f5
Put the code inside a horus namespace
2013-02-07 23:53:13 +00:00
Tiago Gomes
5c84a2f532
Improve includes
2013-02-07 20:09:10 +00:00
Tiago Gomes
bb7a530da3
Avoid importing the std namespace
2013-02-07 13:37:15 +00:00
Tiago Gomes
f3bd8ad414
Use the word option instead of key. Key reminds me of hashes
2013-01-10 22:59:12 +00:00
Tiago Gomes
da0514a779
Add support for more infernce keys.
...
Add support for export_libdai, export_uai, export_gv and print_fg.
Document these keys.
2013-01-08 17:01:03 +00:00
Tiago Gomes
7d9af75c35
Improve solver flags
2012-12-27 23:21:32 +00:00
Tiago Gomes
01d8f8e178
More whitespace cleanups
2012-12-20 23:19:10 +00:00
Tiago Gomes
b44ed7db39
Improve the error messages
2012-12-20 18:07:50 +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
0a661b0462
More cleanups
2012-12-18 22:47:43 +00:00
Tiago Gomes
3eb6b76ddd
Whitespace clean
2012-12-17 18:39:42 +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
64a27847cc
Introduce a lifted solver class
2012-11-14 21:55:51 +00:00
Tiago Gomes
07bcc89a76
factor out some lifted operations in a new class
2012-11-09 23:52:35 +00:00
Tiago Gomes
6a200760ca
initial code to support calling a lifted knowledge compilation solver
2012-11-08 21:54:47 +00:00
Tiago Gomes
57edd6adb9
minor improvements
2012-06-19 15:29:09 +01:00
Tiago Gomes
ee5b8e693a
re-activate bayes ball
2012-06-19 15:10:57 +01:00
Tiago Gomes
89725dffbb
rename some enums
2012-06-12 21:27:17 +01:00
Tiago Gomes
d4f63b3942
drop Solver suffix and rename some files and classes
2012-06-12 16:29:57 +01:00
Tiago Gomes
b5369db214
use only solveQuery
2012-05-31 23:06:53 +01:00
Tiago Gomes
f91e543d9d
workaround c++ bad design: don't allow creating a factor graph from some pointer
2012-05-31 22:42:38 +01:00
Tiago Gomes
22d8876d33
add support to (real) lifted belief propagation
2012-05-31 21:12:46 +01:00
Tiago Gomes
6668ee6381
add initial skeleton for lifted bp
2012-05-30 19:23:41 +01:00
Tiago Gomes
8d14593c3e
add an enum for lifted solvers and do some renamings
2012-05-30 17:17:39 +01:00
Tiago Gomes
a9c369aac1
size_t invasion, part II
2012-05-28 14:01:05 +01:00
Tiago Gomes
af6601837c
size_t invasion
2012-05-24 22:55:20 +01:00
Tiago Gomes
acc5ab056a
some refactorings
2012-05-24 16:14:13 +01:00
Tiago Gomes
444eaacc63
add operators to manipulate vectors of parameters
2012-05-24 14:55:30 +01:00
Tiago Gomes
6cb718942a
some renamings
2012-05-23 21:23:03 +01:00
Tiago Gomes
d91e91b97e
prefix calls to c++ functions with cpp_
2012-05-23 20:34:57 +01:00
Tiago Gomes
6c77afb3ae
ok, second try
2012-05-23 14:56:01 +01:00