Vitor Santos Costa
6b31d08633
mlns in PFL
2013-06-06 19:18:46 -05:00
Vítor Santos Costa
ea3f25c378
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2013-04-16 21:26:41 -05:00
Vitor Santos Costa
cb08a542e2
get rid of comments
2013-04-16 21:14:05 +01:00
Vitor Santos Costa
1c9cc469d5
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2013-04-16 21:11:51 +01:00
Tiago Gomes
9e57b32431
Fix compilation with older versions of GCC
2013-04-16 21:07:03 +01:00
Vítor Santos Costa
e5d5352268
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2013-04-16 07:53:01 -05:00
Vitor Santos Costa
78410ade1a
ensure evidence does not go away, make sure YAP compiles
2013-04-15 19:12:53 -05:00
Tiago Gomes
9e9ad24c90
Small updates to latex docs
2013-04-13 12:43:52 +01:00
Tiago Gomes
761406fa46
Small updates to html docs
2013-04-13 12:33:48 +01:00
Tiago Gomes
745a034d43
Reduce the size of the section labels
2013-04-13 00:49:59 +01:00
Tiago Gomes
cb6715664b
Create a HTML version of the manual
2013-04-12 23:49:12 +01:00
Tiago Gomes
3405a8895b
Small updates to manual
2013-04-12 23:48:25 +01:00
Tiago Gomes
fc2530fbe2
It appears that 'make install' on top level calls 'make all' on the horus makefile
2013-04-11 23:16:51 +01:00
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
23d2f7b8e5
more cleanups.
2013-04-07 10:40:42 -05:00
Vítor Santos Costa
4a95575fe1
should always lookup who generates the parameters (not supported in learning).
2013-04-07 09:51:20 -05:00
Vítor Santos Costa
30cc02e4ee
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2013-04-07 08:18:54 -05:00
Vítor Santos Costa
4ab4f1cab1
allow integer parameters.
2013-04-07 08:18:13 -05:00
Vitor Santos Costa
12799589a8
thread fixes
2013-04-07 00:00:41 +01:00
Tiago Gomes
b13a8b73a1
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2013-04-04 16:20:18 +01:00
Tiago Gomes
a2e54a235a
Factor: improve factor multiplication
...
Pass the argument as reference-to-const and also allow chaining of multiplications.
2013-03-21 21:49:12 +00:00
Tiago Gomes
6da2580c8f
Fix c550139c8b
2013-03-21 21:43:27 +00:00
Tiago Gomes
e2ca97c8de
Factor: use the default copy constructor
2013-03-21 21:20:28 +00:00
Tiago Gomes
389daab83f
Oops
2013-03-21 19:29:24 +00:00
Tiago Gomes
da88ffcc78
Watch out for undefined behaviour.
2013-03-18 16:18:47 +00:00
Tiago Gomes
c550139c8b
Add more assertations to Factor class.
...
SumOutFirstVariable and SumOutLastVariable will only are correctly defined if the variable is binary.
2013-03-18 15:57:10 +00:00
Tiago Gomes
4ca17b9e9b
Turn off debug by default
2013-03-18 15:08:06 +00:00
Tiago Gomes
acf83dd0a1
Add some unit tests
2013-03-18 14:42:54 +00:00
Tiago Gomes
403695a7ba
Ouch! We were deleting the same links twice
2013-03-18 12:56:36 +00:00
Tiago Gomes
07dba92406
Add a more complex example to be used by unit tests
2013-03-18 11:33:27 +00:00
Tiago Gomes
bc04d28092
Use a static method to create a FactorGraph
2013-03-14 16:57:34 +00:00
Tiago Gomes
2ef1651c6a
Add more 2 digits of precision
2013-03-14 16:55:20 +00:00
Tiago Gomes
b5d72f751e
We need to reverse the ranges too
2013-03-13 23:22:38 +00:00
Tiago Gomes
d3663d9370
Forgot to call exit
2013-03-13 22:37:04 +00:00
Tiago Gomes
23469e6f94
Initial infrastructure to support CppUnit
2013-03-13 14:47:14 +00:00
Tiago Gomes
5e5feb5674
Improve Makefile
2013-03-12 21:11:43 +00:00
Vítor Santos Costa
7f910c694d
fix paths
2013-03-10 15:21:42 -05:00
Vitor Santos Costa
d0858c0d0c
remove debugging
2013-03-10 17:24:47 +00:00
Vitor Santos Costa
6397cc9ff7
merge
2013-03-10 17:17:58 +00:00
Vitor Santos Costa
e7146c9a46
new version, thread only.
2013-03-10 17:13:09 +00:00
Vitor Santos Costa
b0b74fd0f8
update
2013-03-10 15:49:37 +00:00
Vitor Santos Costa
f62ea7686a
fixes and update
2013-03-10 15:44:23 +00:00
Tiago Gomes
21c401c0dd
Move CTNode class to sourcef file
2013-03-09 19:41:17 +00:00
Tiago Gomes
2da7249247
Trivial
2013-03-09 17:14:00 +00:00
Tiago Gomes
a300b27764
BeliefProp: move some members to private section
2013-03-09 16:46:42 +00:00
Tiago Gomes
95539226ea
Kill SPNodeInfo class
2013-03-09 16:41:53 +00:00
Tiago Gomes
d563fce952
Var: replace struct by a pair
2013-03-09 16:18:13 +00:00
Tiago Gomes
532654baba
Use enum class instead of old enum.
...
As we are relying on c++11x for other stuff too.
2013-03-09 15:39:39 +00:00
Vitor Santos Costa
a5000dab32
change SWI stuff to swi directory.
2013-03-05 15:50:38 -06:00
Tiago Gomes
7193d2238d
Move template definitions to source file and use explicite template instantiation.
2013-03-04 17:58:32 +00:00
Tiago Gomes
063f3ff6e3
Forgot to add these two in the previous commit
2013-03-04 17:57:56 +00:00
Tiago Gomes
93fa793683
Separate TFactor and Factor classes.
...
Rename TFactor to GenericFactor. GenericFactor.cpp is empty for now.
2013-03-04 15:47:47 +00:00
Tiago Gomes
98efd54da7
Remove unused member function
2013-03-04 15:10:51 +00:00
Vitor Santos Costa
acf565d91b
new version.
2013-03-03 08:54:09 -06: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
Vitor Santos Costa
b49e9b908b
gradient is more complex to compute
2013-02-26 09:39:56 -06:00
Vitor Santos Costa
59d97f83b4
handle negation in tries and add debugging hooks
2013-02-26 09:39:18 -06:00
Tiago Gomes
c8b639f495
Define sortByParams as a local class
2013-02-22 12:35:14 +00:00
Tiago Gomes
0991a84793
Move sortByParams to source file
2013-02-21 00:13:11 +00:00
Tiago Gomes
59c6f5c243
DISALLOW_COPY_AND_ASSIGN should be in the end
2013-02-21 00:06:34 +00:00
Tiago Gomes
f0572e3cfb
Move BpLink to inside of BeliefProp
2013-02-20 23:59:03 +00:00
Tiago Gomes
6b0e125e3b
Move MsgSchedule enum to inside class BeliefProp.
...
Move also SPNodeInfo to inside BeliefProp. Improve also some using of enums.
2013-02-20 23:34:03 +00:00
Tiago Gomes
ce8152d7a0
Add a comment explaining why we are inlining functions with loops in ElimGraph
2013-02-20 23:08:12 +00:00
Vítor Santos Costa
6f6f578578
fix not handling
2013-02-20 13:10:20 -06:00
Tiago Gomes
1d54a78601
BayesBall: improve encapsulation
2013-02-20 14:13:37 +00:00
Tiago Gomes
9a68d95c18
Turn EGNode to be a nested class inside ElimGraph
2013-02-20 13:49:01 +00:00
Tiago Gomes
8ca379c74a
Move ElimHeuristic enum to inside of ElimGraph class
2013-02-20 12:52:55 +00:00
Tiago Gomes
8de22f4f0b
Counting Bp: move internal classes to source file
2013-02-20 12:42:05 +00:00
Tiago Gomes
8c2468c28b
Improve encapsulation in HorusYap and perform other small refactorings
2013-02-20 11:52:42 +00:00
Tiago Gomes
77dfe50acb
LiftedVe: move internal classes to source file
2013-02-20 00:21:01 +00:00
Tiago Gomes
7edfe44576
WeightedBp: remove unnecessary include
2013-02-20 00:13:15 +00:00
Tiago Gomes
74a9eda09d
HorusCli: put internal functions in an anonymous namespace
2013-02-20 00:05:45 +00:00
Tiago Gomes
e3439af0a0
LiftedKc: improve header include
2013-02-19 23:59:05 +00:00
Tiago Gomes
e434e87cc8
LiftedKc: remove unnecessary data members
2013-02-19 23:57:22 +00:00
Tiago Gomes
c9543514c5
LiftedKc: move some internal classes to source file
2013-02-19 23:47:46 +00:00
Vítor Santos Costa
638bee41cd
fix compilation issues & up-to-date to recente SWI.
2013-02-17 07:32:55 -06: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
ea49b517e8
Some renamings in ElimGraph
2013-02-16 17:03:12 +00:00
Tiago Gomes
ba79d2e422
Add a source file for Indexer class
...
- Move some non-performance critical methods to the source file
- Fix some implicit declarions of members in iomanip
- Fix declaration order in Makefile.in
2013-02-16 16:42:08 +00:00
Tiago Gomes
0852c4fe22
Clean ups
2013-02-16 16:17:14 +00:00
Tiago Gomes
d0f5d0f9ab
Change LiftedOperations to be a namespace instead of class with static member functions
2013-02-16 16:00:53 +00:00
Tiago Gomes
be24ff5160
Fix typos
2013-02-16 15:30:44 +00:00
Tiago Gomes
acb4bf610f
Clean HorusYap a bit
2013-02-16 01:54:11 +00:00
Tiago Gomes
bf1ba17855
Fix typos detected by cppcheck
2013-02-13 23:47:00 +00:00
Tiago Gomes
57f46e7c0d
Fix printed string showed when file opening fails
2013-02-13 19:18:55 +00:00
Tiago Gomes
ab7f4c8113
Fix namespace name
2013-02-13 19:09: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
afd26ed9b4
Trivial
2013-02-13 15:25:55 +00:00
Tiago Gomes
bd70033c06
Disallow copy and assign for Var too
2013-02-13 14:42:24 +00:00
Tiago Gomes
2bc123d72c
Update class, struct and enum bracket style
2013-02-13 14:26:47 +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
264ef7a067
Clean a bit LiftedWCNF class
2013-02-08 12:12:45 +00:00
Tiago Gomes
bff56c75ca
Trivial
2013-02-08 01:11:18 +00:00
Tiago Gomes
98842dca74
Trivial
2013-02-08 00:56:42 +00:00
Tiago Gomes
c41b6d80b6
Trivial
2013-02-08 00:28:32 +00:00
Tiago Gomes
cd8a25162e
Trivial
2013-02-08 00:22:51 +00:00
Tiago Gomes
206cf0a9c7
Trivial
2013-02-08 00:20:01 +00:00
Tiago Gomes
973df43fe0
Improve namespace names
2013-02-08 00:15:41 +00:00