Commit Graph

6660 Commits

Author SHA1 Message Date
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
Vitor Santos Costa
bda5d56bdf memory recovery 2013-03-19 21:26:22 -05:00
Vitor Santos Costa
c364fccda8 fix memory allocation 2013-03-19 21:25:46 -05:00
Vitor Santos Costa
0ea010f3b2 remove debugging message 2013-03-19 21:25:24 -05:00
Vitor Santos Costa
6404c2d827 fix error 2013-03-19 21:23:55 -05: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
Vitor Santos Costa
4dac867fb8 new more compact/better hashing version of exo.c 2013-03-15 14:56:18 -05: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
b88dcb86ab fix tid lookup 2013-03-10 16:44:46 -05: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
7f758cf103 SWI expects thread IDs to be like addresses 2013-03-10 16:39:54 +00:00
Vitor Santos Costa
46d447b385 JAVACFLAGS 2013-03-10 16:39:03 +00:00
Vitor Santos Costa
562372bb5a fix instance on database 2013-03-10 16:38:01 +00:00
Vitor Santos Costa
504ad22f92 more on slot management 2013-03-10 16:37:27 +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
5568236479 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2013-03-05 19:06:44 -06:00
Vítor Santos Costa
17709a9669 fix UN #280 2013-03-05 19:05:37 -06:00
Vitor Santos Costa
a5000dab32 change SWI stuff to swi directory. 2013-03-05 15:50:38 -06:00
Vitor Santos Costa
263a1a548c fix meta-call handling 2013-03-05 15:50:03 -06:00
Vitor Santos Costa
a64c6e523a fix meta-call handling 2013-03-05 15:47:00 -06:00
Vitor Santos Costa
d59afea65e fix determinacy 2013-03-05 15:46:40 -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
Vítor Santos Costa
e600a9c6aa fix typo (UN) 2013-03-04 09:16:02 -06:00
Vítor Santos Costa
ab01bb0124 do not wake up constraints in write_term (UN) 2013-03-04 09:14:43 -06:00
Tiago Gomes
98efd54da7 Remove unused member function 2013-03-04 15:10:51 +00:00
Vítor Santos Costa
4fcba3691a just ignore SIGHUP 2013-03-03 20:29:02 -06:00
Vítor Santos Costa
0a0b3cf6ac re-enable arit compilation 2013-03-03 20:27:20 -06:00