Commit Graph

6825 Commits

Author SHA1 Message Date
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
Vítor Santos Costa
874fc97970 leave system mode 2013-03-03 20:26:48 -06:00
Vítor Santos Costa
725617cedd optimise trace in body 2013-03-03 20:26:20 -06:00
Vitor Santos Costa
1c12d456ae ensure failure after throw from user code. 2013-03-03 08:54:46 -06: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
Vitor Santos Costa
dbd4c7f50f Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2013-02-26 09:33:46 -06:00
Vitor Santos Costa
6e7742ce8b suport /u/vitor/linux/bin:/u/vitor/bin:/usr/bin:/bin:/sbin:/usr/sbin:/ua/vitor/linux/bin:/usr/X11R6/bin:.:/usr/openwin/bin:/usr/local/bin:/ua/vitor/bin:/usr/bin:/bin:/ua/vitor/sw/bin:/opt/condor/bin:/s/bin in paths 2013-02-26 09:33:02 -06:00
Vitor Santos Costa
ddb14f97aa strengthen error handling from top-level 2013-02-26 09:32:39 -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
9e250c3d0a fix profiler reset on OSX. 2013-02-17 08:05:20 -06:00
Vítor Santos Costa
638bee41cd fix compilation issues & up-to-date to recente SWI. 2013-02-17 07:32:55 -06:00
Vítor Santos Costa
f1273132b5 Merge branch 'debugger' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2013-02-17 07:04:55 -06:00
Vítor Santos Costa
8cadc14ed4 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	C/exec.c
2013-02-17 07:03:38 -06:00
Vítor Santos Costa
4dc28bc48a add missing predicate. 2013-02-17 07:02:03 -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