Commit Graph

1803 Commits

Author SHA1 Message Date
Vítor Santos Costa
3087d51b18 more swig upddates. 2014-06-04 22:07:37 +01:00
Vítor Santos Costa
21fe137d27 FIX: warnings 2014-05-30 00:59:42 +01:00
Andreas Becker
dc37d76e8b Merge branch 'github.com/master'
Conflicts:
	Makefile.in
2014-05-29 12:19:45 +02:00
Andreas Becker
daaaf52338 Fix: Windows likes .exe executables. 2014-05-29 11:39:00 +02:00
Vítor Santos Costa
fa27e045a3 try compiling without STL :( 2014-05-28 00:09:36 +01:00
Vítor Santos Costa
0d52c2d730 android compilation framework: a simple example. 2014-05-28 00:07:50 +01:00
Vítor Santos Costa
8e798db830 fix bad use of interface. 2014-05-25 09:57:17 +01:00
Vítor Santos Costa
e0c3c2d444 avoid warnings and fix collisions with eclipse. 2014-05-17 22:56:23 +01:00
Vítor Santos Costa
13bc66f89c Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	packages/zlib
2014-05-15 01:00:11 +01:00
Vitor Santos Costa
5ebb0d2d74 new version of module 2014-05-12 16:52:11 +01:00
Vítor Santos Costa
aaed6ded8d fix lists without arguments. 2014-05-07 17:15:12 +01:00
Vítor Santos Costa
cd5f44f762 makefile stuff. 2014-05-07 09:43:14 +01:00
Vítor Santos Costa
06e29a4978 bad makefile 2014-05-07 09:35:19 +01:00
Vítor Santos Costa
5e701460f2 fix CXX mess-up.
fix cplint configuration.
2014-05-06 23:00:17 +01:00
Vitor Santos Costa
b370404432 C++ flags 2014-05-06 09:55:40 +01:00
Vitor Santos Costa
73ff8676ca file systems without case 2014-05-06 09:39:04 +01:00
Vitor Santos Costa
4ebe56aad9 C++ flags 2014-05-06 09:38:22 +01:00
Vítor Santos Costa
e9672e9820 android project 2014-05-05 14:12:52 +01:00
Vítor Santos Costa
bbad94e5dd psckage compilation stuff. 2014-05-04 23:15:39 +01:00
Vítor Santos Costa
462bb216f7 patch from Denis Duchier: compilation issues. 2014-05-04 23:14:18 +01:00
Vítor Santos Costa
3c99f0b055 more progress 2014-05-04 23:02:28 +01:00
Vítor Santos Costa
bf357212af fix typo. 2014-05-04 22:32:41 +01:00
Vitor Santos Costa
4b3e9691ef C++ for a nicer progrmming style. 2014-04-29 11:49:09 +01:00
Vítor Santos Costa
23561d086b support for SWIG. 2014-04-28 11:57:09 +01:00
Vítor Santos Costa
137f69ed22 doc support 2014-04-21 11:14:18 +01:00
Vitor Santos Costa
d199c64de6 fix conversion to markdown 2014-04-09 14:00:54 +01:00
Vítor Santos Costa
c629ae9283 doc updates 2014-04-09 12:39:52 +01:00
Vítor Santos Costa
9c008ac769 use TRUE for booleans 2014-03-15 22:24:02 +00:00
Vítor Santos Costa
cd5423a8bf new commits 2014-03-15 22:22:54 +00:00
Vítor Santos Costa
4bc537a37b new commits 2014-03-15 22:22:43 +00:00
Vítor Santos Costa
e9eb030bb6 catch warnings 2014-03-15 22:21:54 +00:00
Vítor Santos Costa
6d2e2597b1 C++ incompatibilities. 2014-03-14 23:03:22 +00:00
Vítor Santos Costa
e843d8f536 receent updates. 2014-03-14 23:03:05 +00:00
Vitor Santos Costa
228bc76a35 Eclipse Support 2014-03-13 16:57:21 +00:00
Vítor Santos Costa
4591e1baaf Eclipse stuff 2014-03-13 12:54:06 +00:00
Vítor Santos Costa
b815e64740 README -> add TXT file. 2014-03-11 11:24:10 +00:00
Vítor Santos Costa
4160562e45 string for lines and files 2014-03-10 15:51:49 +00:00
Vitor Santos Costa
47d436fc13 WIN32 with threads 2014-03-06 13:34:35 +00:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
Vitor Santos Costa
964b15d107 keep on simplifying configure. 2014-02-18 07:59:47 +00:00
Vítor Santos Costa
891420c367 fix Makefile 2014-02-16 15:20:33 +00:00
Vítor Santos Costa
6522eb2e5a fix Makefile 2014-02-16 15:20:07 +00:00
Vítor Santos Costa
6a1302221c change to support autoheaders 2014-02-16 13:03:09 +00:00
Vítor Santos Costa
9214f50eb5 absolute path 2014-02-16 13:02:39 +00:00
Vítor Santos Costa
1bd528198a more configuration fixes 2014-02-15 01:24:07 +00:00
Vítor Santos Costa
2c24fb7a83 typo 2014-02-13 02:10:37 +00:00
Vítor Santos Costa
4e5a2e3a20 typo 2014-02-13 02:09:36 +00:00
Vítor Santos Costa
0953ecc5d7 typo 2014-02-13 02:08:16 +00:00
Vítor Santos Costa
d6f4707caf typo 2014-02-13 02:05:52 +00:00
Vítor Santos Costa
2cdeb3f1c1 typo 2014-02-13 02:02:51 +00:00
Vítor Santos Costa
1d27d22ef0 big makefile cleanup 2014-02-13 01:58:48 +00:00
Vitor Santos Costa
0664e1f647 configuration issues 2014-02-12 23:35:00 +00:00
Vítor Santos Costa
89789d6828 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	configure
	packages/clib
	packages/real
2014-02-12 00:44:34 +00:00
Vítor Santos Costa
46179c4eca Merge branch 'master' of /Users/vsc/Yap/yap-6.3
Conflicts:
	configure
2014-02-12 00:36:03 +00:00
Vítor Santos Costa
e2bd922f8b fix warning 2014-02-12 00:34:40 +00:00
David Vaz
3cad9c37b1 removed unnecessary cut_c macros (always on) 2014-02-11 07:15:39 -08:00
Vitor Santos Costa
1d7407ba4d fix horus 2014-02-11 13:56:40 +00:00
Vitor Santos Costa
6110ecb95d update submodules 2014-02-11 13:44:17 +00:00
Vitor Santos Costa
365dcd5bca fix missing packages 2014-02-11 13:31:53 +00:00
Vítor Santos Costa
ab40f20a2b Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	configure
2014-02-10 23:57:18 +00:00
Vitor Santos Costa
bcde1666fb package updates 2014-02-10 23:46:22 +00:00
Vitor Santos Costa
9a46cdac9b clean up makefile 2014-02-10 23:31:33 +00:00
Vitor Santos Costa
00f0d449ec clean up makefile 2014-02-10 23:30:21 +00:00
Vitor Santos Costa
231290bad3 clean up makefile 2014-02-10 23:30:21 +00:00
Vitor Santos Costa
89e2c86a0b clean up makefile 2014-02-10 23:30:21 +00:00
Vitor Santos Costa
5bf0a5de61 clean up makefile 2014-02-10 23:30:21 +00:00
Vitor Santos Costa
2bb21e9e1b clean up makefile 2014-02-10 23:30:21 +00:00
Vitor Santos Costa
2c12c7917b c-stuff 2014-02-06 21:57:51 +00:00
Vitor Santos Costa
72a8d49926 support 2014-02-06 21:57:32 +00:00
Vítor Santos Costa
9e2a2b75b9 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	library/dialect/swi/fli/swi.c
	packages/real
2014-02-02 21:52:14 +00:00
Vítor Santos Costa
ae0ab6fa86 improve SWI 2014-02-02 21:46:33 +00:00
Vitor Santos Costa
0dac1e9e7d raptor support 2014-01-30 18:00:56 +00:00
Vitor Santos Costa
b57867c983 threads 2014-01-30 18:00:37 +00:00
Vitor Santos Costa
598267ca23 fix encoding for strings: it's utf-8 2014-01-28 14:15:40 +00:00
Vitor Santos Costa
327c1216e4 fixes to SWI interface 2014-01-28 13:01:27 +00:00
Vitor Santos Costa
d648375412 make MYDDAS into its own module. 2014-01-24 19:59:42 +00:00
Vitor Santos Costa
a613099e1f cross-compilation support 2014-01-23 09:31:35 +00:00
Vitor Santos Costa
0391988788 support cross-compilation for windows 2014-01-23 01:46:16 +00:00
Vitor Santos Costa
fe6142ca69 win32 support 2014-01-22 18:13:43 +00:00
Vítor Santos Costa
464d6cd125 get rid of doxygen stuff 2014-01-22 09:52:02 +00:00
Vitor Santos Costa
b47aeb461b support python3 2014-01-22 09:44:42 +00:00
Vitor Santos Costa
a8eda03305 4.2.1 support 2014-01-22 09:41:47 +00:00
Vitor Santos Costa
6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15:05 +00:00
Vítor Santos Costa
ccccf71ae1 support for tabling of bignums and strings 2014-01-17 09:39:29 +00:00
Vitor Santos Costa
30828eba98 fix input sz: should only matter with NCHARS 2013-12-18 16:42:05 +00:00
Vítor Santos Costa
7a6d36ff16 ensure real version to be YAP compatible 2013-12-16 21:46:33 +00:00
Vítor Santos Costa
09accc834c remove problog atom initialization 2013-12-08 23:16:22 +00:00
Vítor Santos Costa
b3608c6a83 improve char conversion 2013-12-05 11:20:57 +00:00
Vitor Santos Costa
2665f71112 keep trying to fix atoms 2013-12-04 23:01:30 +00:00
Vítor Santos Costa
86ce2f49b0 update 2013-11-25 19:28:45 +01:00
Vítor Santos Costa
7a3a4ab32b module_property 2013-11-25 16:52:08 +01:00
Vitor Santos Costa
f6f183c0f6 remove some more duplicated code 2013-11-22 15:18:03 +00:00
Vitor Santos Costa
3dce3c0156 fix relative path in latex2html 2013-11-21 11:35:35 +00:00
Vitor Santos Costa
6d773a3189 use SWI opts for read 2013-11-20 22:30:49 +00:00
Vítor Santos Costa
cffef55b61 latex to html translator port from SWi. 2013-11-18 01:21:21 +00:00
Vítor Santos Costa
5dbaeedf08 fix bad pruning in meta-call 2013-11-16 23:08:17 +00:00
Vitor Santos Costa
2a5f6535ae fix win64 2013-11-16 16:58:07 +00:00
Vitor Santos Costa
b1c2fbd6bb iKeri patch 2013-11-13 13:24:37 +00:00
Vitor Santos Costa
4fa9021a7b integration work:
- use SWI flags whenever possible
  - support by module unknown, escapes, strings
  - accesss thread info fom SWI
  - allow strings to be input as strings.
  - remove some unused flags.
2013-11-13 10:38:20 +00:00
Vítor Santos Costa
a2fc06df36 update 2013-11-11 12:32:03 +00:00
Vítor Santos Costa
bf7fd9982b update 2013-11-11 12:31:11 +00:00
Vítor Santos Costa
85c0435f59 update 2013-11-11 12:30:32 +00:00
Vítor Santos Costa
d6d437d12f update 2013-11-11 12:10:04 +00:00
Vítor Santos Costa
5c4cb1c43c update 2013-11-11 12:09:35 +00:00
Vítor Santos Costa
07bfa49691 update 2013-11-11 11:54:16 +00:00
Vítor Santos Costa
5a9b904fb4 update 2013-11-11 11:47:15 +00:00
Vítor Santos Costa
1efab018bd update 2013-11-11 11:47:04 +00:00
Vítor Santos Costa
e92c3c6dbb mac and win support 2013-11-11 11:42:57 +00:00
Vítor Santos Costa
d98d888fd8 mac support. 2013-11-11 11:40:59 +00:00
U-vsc-PC\vsc
953befcb7d win 2013-11-11 10:35:50 +00:00
U-vsc-PC\vsc
eea8d78ec5 improve search in boot 2013-11-11 10:34:55 +00:00
U-vsc-PC\vsc
5e6cc55713 win stuff 2013-11-11 10:27:04 +00:00
Vítor Santos Costa
0205a222d9 Attached is a small patch to respect any LDFLAGS when building
library/lammpi or packages/CLPBN/horus.

Keri Harris
2013-11-10 11:22:54 +00:00
Vitor Santos Costa
a69a2442c9 fix \% 2013-11-08 23:48:57 +00:00
Vitor Santos Costa
7e0bf7fbe8 fix operator issues 2013-11-08 00:13:04 +00:00
Vítor Santos Costa
810a7faf4e aggregates should know about with operator 2013-11-07 23:49:16 +00:00
Vítor Santos Costa
1a8b038b5b fix missing return 2013-11-04 21:41:26 +00:00
U-w7\vsc
a9b025e6a1 BSD and __WINDOWS__ 2013-11-04 15:30:34 +00:00
Vitor Santos Costa
d2ed850643 separate cplint and mpi interface. 2013-11-04 13:16:14 +00:00
Vitor Santos Costa
e07a60887b new version 2013-11-04 13:01:43 +00:00
Vitor Santos Costa
52fcf2c7ab configuration for gecode 2013-11-04 10:00:32 +00:00
Vitor Santos Costa
415a6a3a71 configuration for clib 2013-11-04 09:59:42 +00:00
Vítor Santos Costa
f44c2b1488 missing new files 2013-11-04 09:39:14 +00:00
Vítor Santos Costa
a2842ef9ce missing new files 2013-11-04 08:16:52 +00:00
Vítor Santos Costa
57760e3dc9 more files for maildrop configure 2013-11-04 08:04:37 +00:00
Vítor Santos Costa
6c9d7d120f distribute configure 2013-11-04 07:42:14 +00:00
Vítor Santos Costa
a069d8b5f6 fix in DESTDIR 2013-11-04 07:26:16 +00:00
Vítor Santos Costa
c9780cb3ad updates 2013-11-04 01:47:50 +00:00
Vítor Santos Costa
e630d63d9e updates 2013-11-04 01:39:20 +00:00
Vítor Santos Costa
1cd029197b updates 2013-11-04 01:36:15 +00:00
Vítor Santos Costa
5090a08f5c updates 2013-11-04 01:34:31 +00:00
Vítor Santos Costa
4ce1479da5 distributed commit 2013-11-04 01:18:43 +00:00
Vítor Santos Costa
1ede2112c6 distributed configure 2013-11-03 23:55:09 +00:00
Vítor Santos Costa
1967e0c434 distributed config file 2013-11-03 14:13:08 +00:00
Vítor Santos Costa
e423fc28e5 distributed config && float library 2013-11-03 14:12:38 +00:00
Vítor Santos Costa
e84540b4f0 C++ does not allow variable length arrays: quick fix 2013-11-03 13:35:54 +00:00
Vítor Santos Costa
3bbc867611 fix sun jdk in darwin 2013-10-30 22:12:34 +00:00
U-w7\vsc
360e8a9269 WIN32 support 2013-10-30 13:56:35 +00:00
Vitor Santos Costa
699edafa2c try to improve jpl and zlib makefiles 2013-10-30 12:57:46 +00:00
Vitor Santos Costa
149ef50865 new version for jpl 2013-10-30 10:56:01 +00:00
Vítor Santos Costa
d7c13b53d8 new version 2013-10-30 10:00:41 +00:00
Vítor Santos Costa
ddf624d351 new swi code 2013-10-30 09:57:59 +00:00
Vítor Santos Costa
2669240c4f debug memory allocations 2013-10-17 00:44:24 +01:00
Vítor Santos Costa
bd541bc57f eliminate leak and fix memory tracking 2013-10-16 17:33:49 +01:00
Vítor Santos Costa
5ad10a1057 profiling 2013-10-16 16:19:03 +01:00
Vítor Santos Costa
94cb9b7563 allow debugging of memory allocation 2013-10-16 14:52:54 +01:00
Vítor Santos Costa
b50305a100 fix fix 2013-10-16 11:24:23 +01:00
Vítor Santos Costa
3fa1f856f6 fix alaises in cuda 2013-10-16 11:15:26 +01:00
Vítor Santos Costa
a01b319032 fix cuda multijoin (Carlos) 2013-10-16 09:52:41 +01:00
Vítor Santos Costa
691e977a68 cuda fixes by Carlos and other diverse (fact init, configure). 2013-10-12 12:46:01 +01:00
Vítor Santos Costa
0dc78f106b more cuda checking 2013-10-12 01:11:21 +01:00
Vítor Santos Costa
d02842c9ff missing file 2013-10-09 14:59:57 +01:00
Vitor Santos Costa
e41851e9d9 cuda 2013-10-09 14:59:03 +01:00
Vítor Santos Costa
a165d3e4c2 missing heder 2013-10-09 14:41:53 +01:00
Vítor Santos Costa
ffd9bb7a19 missing headers 2013-10-09 13:33:10 +01:00
Vítor Santos Costa
f6bc5ab918 more fixes; get coverage quickly 2013-10-09 11:23:45 +01:00
Vítor Santos Costa
6ec98fbcbd make safe for overflow 2013-10-08 13:05:08 +01:00
Vítor Santos Costa
c757e51cb0 fixes, small improvements in functionality 2013-10-08 12:46:06 +01:00
Vítor Santos Costa
490b7cd40a small fixes 2013-10-07 18:34:29 +01:00
Vítor Santos Costa
fbf6648433 more CUDA fixes 2013-10-07 13:48:19 +01:00
Vítor Santos Costa
1593ee4918 fix interface 2013-10-07 12:38:08 +01:00
Vítor Santos Costa
9800753a1b learn from true by default 2013-10-07 12:21:39 +01:00
Vítor Santos Costa
726d7ca1cc cuda package from Carlos 2013-10-07 12:20:00 +01:00
Vitor Santos Costa
74a6a79960 interface to cuda datalog package 2013-10-04 14:42:18 +01:00
Vitor Santos Costa
43163a190f Atom Translations and CUDA stub 2013-10-04 13:22:00 +01:00
Vitor Santos Costa
1c9167a6c5 small fixes 2013-10-03 11:28:09 +01:00
Vitor Santos Costa
448e2c88e1 document BDD package 2013-09-30 15:45:01 +01:00
Fabrizio Riguzzi
3659f9036c testing output 2013-09-17 14:10:08 +02:00
Fabrizio Riguzzi
faf7726452 test program 2013-09-17 13:04:22 +02:00
Fabrizio Riguzzi
700cd2d9dc CLL->Score 2013-09-09 12:41:42 +02:00
Fabrizio Riguzzi
52caac6548 aucpr as a score 2013-09-08 22:11:11 +02:00
Fabrizio Riguzzi
b00a5bf7fc em/8 returns the list of updated probabilities of examples 2013-09-08 17:46:36 +02:00
Fabrizio Riguzzi
cbf31fcd50 fixed test predicates 2013-09-08 16:06:18 +02:00
Fabrizio Riguzzi
b06e1f8bb0 var depth 2013-09-04 21:34:04 +02:00
Fabrizio Riguzzi
c671d8aa29 slipcover manual 2013-09-04 21:12:09 +02:00
Fabrizio Riguzzi
842b7f25ab Merge branch 'master' of git@git.dcc.fc.up.pt:yap-6.3 2013-09-04 19:11:28 +02:00
Fabrizio Riguzzi
1f3f9bfb1f inference_sl.pl equal to slipcase 2013-09-04 19:10:31 +02:00
Fabrizio Riguzzi
d53857db21 dos2unix inference_sl.pl 2013-09-04 19:09:36 +02:00
Fabrizio Riguzzi
cb304e781c slipcover 2013-09-04 18:58:00 +02:00
Vitor Santos Costa
24de22eeb5 MLN generative learning 2013-07-29 17:56:32 -05:00
Vitor Santos Costa
bfb4cef8f9 fixes 2013-07-29 17:55:51 -05:00
Vitor Santos Costa
3bb50ce3af handle possible stack expansion or gc 2013-07-25 10:21:17 -05:00
Vitor Santos Costa
4245a04ed0 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2013-07-16 10:00:51 -05:00
Fabrizio Riguzzi
a405ee4bb0 update manual 2013-07-16 15:57:18 +02:00
Vítor Santos Costa
5e80c3ca86 learning 2013-07-16 08:00:16 -05:00
Fabrizio Riguzzi
2e309201ab slipcase examples 2013-07-16 13:55:22 +02:00
Fabrizio Riguzzi
dff6925a66 remved unnecessary gloabl vars from bddem.c 2013-07-16 12:43:50 +02:00
Fabrizio Riguzzi
d87bb830cd simplecudd link 2013-07-12 15:03:37 +02:00
Fabrizio Riguzzi
69b1f51a4e fixed hrefs in cplint manual 2013-07-12 14:59:20 +02:00
Vitor Santos Costa
ddee3df5f8 fix order 2013-06-20 18:09:30 -05:00
Vitor Santos Costa
cc73f426d9 MLN stuff 2013-06-19 21:38:43 -05:00
Vitor Santos Costa
24714dbd01 small fixes to l-bfgs 2013-06-19 21:36:18 -05:00
Vítor Santos Costa
f4ef6702e1 upgrade version 2013-06-19 21:34:30 -05:00
Vitor Santos Costa
7e1f3009e6 Bernd Gutmann's lbfgs interface 2013-06-13 17:57:55 -05:00
Vitor Santos Costa
f1cbc7f3be improved mln stuff 2013-06-07 18:22:42 -05:00
Vitor Santos Costa
23a787bcb3 mlns in PFL 2013-06-06 19:22:22 -05:00
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
Tiago Gomes
6f83ceb6f5 Put the code inside a horus namespace 2013-02-07 23:53:13 +00:00
Tiago Gomes
4267465f53 Trivial 2013-02-07 22:41:04 +00:00
Tiago Gomes
3738d0b2c6 Move some things around. No functional changes 2013-02-07 22:37:45 +00:00
Tiago Gomes
2992f9e3cf Trivial 2013-02-07 20:54:59 +00:00
Tiago Gomes
5c84a2f532 Improve includes 2013-02-07 20:09:10 +00:00
Tiago Gomes
544d0aa39e Improve header guards (again) 2013-02-07 17:50:33 +00:00
Tiago Gomes
bb7a530da3 Avoid importing the std namespace 2013-02-07 13:37:15 +00:00
Tiago Gomes
7b60e88545 Improve Header guards 2013-02-06 22:58:42 +00:00
Tiago Gomes
80452bf75d Small improvements 2013-02-06 00:29:29 +00:00
Tiago Gomes
42a5bc493a Move methods with more than two lines to outside of class definition 2013-02-06 00:29:03 +00:00
Vitor Santos Costa
f873074961 update. 2013-02-05 14:34:55 +00:00
Vítor Santos Costa
02a9709431 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2013-01-28 09:32:22 +00:00
Vítor Santos Costa
56a22473ea update swi. 2013-01-28 09:31:06 +00:00
Tiago Gomes
0d9d59f5fe Trivial 2013-01-25 13:58:30 +00:00
Tiago Gomes
31bff4dc84 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2013-01-25 13:50:09 +00:00
Tiago Gomes
bef65dac57 Fix a compilation error with older versions of GCC 2013-01-25 13:47:20 +00:00
Tiago Gomes
9dfedafe98 PFL manual: small improvements 2013-01-25 13:45:35 +00:00
Vitor Santos Costa
8e427074d8 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2013-01-25 09:35:30 +00:00
Vítor Santos Costa
bbaf1f13d4 upstream 2013-01-25 09:32:48 +00:00
Vítor Santos Costa
c758d23ab4 upstream swi code 2013-01-25 09:32:17 +00:00
Vitor Santos Costa
829c3ec8c4 update to latest swi. 2013-01-24 13:14:07 +00:00
Vitor Santos Costa
8774fed9ff use uninstalled YAP with appropriated libs 2013-01-22 22:22:30 +00:00
Vítor Santos Costa
b24c91eeb3 install chr in bootstrap 2013-01-20 22:55:19 +00:00
Vitor Santos Costa
b25e1fb7e8 update 2013-01-18 14:34:15 +00:00
Tiago Gomes
5683258187 PFL manual: fix typo 2013-01-16 08:53:09 +00:00
Tiago Gomes
6cad8969c6 Put solver always as the first argument 2013-01-15 12:27:21 +00:00
Tiago Gomes
cac748d41a Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2013-01-14 16:43:46 +00:00
Vítor Santos Costa
ec37045ca3 new versions. 2013-01-13 11:53:58 +00:00
Tiago Gomes
83ccb31665 PFL manual: rework the parameter learning section 2013-01-12 12:30:34 +00:00
Tiago Gomes
90614d3594 PFL manual: minor tweaks 2013-01-12 12:30:14 +00:00
Tiago Gomes
3ecc65b816 PFL manual: fix typo, is sprinkler not sprinker 2013-01-11 21:15:01 +00:00
Tiago Gomes
509491cd0f PFL manual: improve the way we present the solver options 2013-01-11 19:39:27 +00:00
Tiago Gomes
8c8e2b034f Improve a bit the learning examples 2013-01-11 00:16:56 +00:00
Tiago Gomes
8285b8e1e4 Cuttify\! 2013-01-10 23:38:46 +00:00
Tiago Gomes
8f9b11cc7c Comment set_em_solver so that hve becomes that default 2013-01-10 23:04:17 +00:00
Tiago Gomes
4aa4cb50b0 Switch solver order in examples 2013-01-10 23:02:34 +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
f7fcfec8ce PFL manual: some rewording 2013-01-10 22:42:23 +00:00
Tiago Gomes
d3e2abd677 Don't use the name horus in documentation.
It is just an internal code name.
2013-01-10 22:39:46 +00:00
Tiago Gomes
fdeca2852a Use only one interface for options.
set_pfl_flag/2 now can be called for setting options for solvers written in Prolog and for solvers in Horus.
2013-01-10 22:10:22 +00:00
Tiago Gomes
e5e224d89b Fix typo 2013-01-10 21:51:45 +00:00
Tiago Gomes
bd84949f09 Trivial 2013-01-10 17:23:09 +00:00
Tiago Gomes
1bb1138b3a Fix EM typos 2013-01-10 13:45:24 +00:00
Vitor Santos Costa
b7ef6576a6 add keys within learning 2013-01-09 18:34:19 +00:00
Vitor Santos Costa
6cee85bd60 fix cases where you get repeated keys or a(X,X) keys in PFL. 2013-01-09 18:22:01 +00:00
Vitor Santos Costa
46fbc539bf handle repeated query vars with evidence 2013-01-09 17:49:07 +00:00
Vitor Santos Costa
ff953eb20a Merge branch 'master' of https://github.com/tacgomes/yap6.3 2013-01-09 16:48:16 +00:00
tacgomes
2feac46e54 PFL manual: several improvements 2013-01-09 16:45:01 +00:00
tacgomes
7f452d2397 Refactor the benchmarks 2013-01-09 15:25:14 +00:00
tagomes@fc.up.pt
7fabfcf4c9 Trivial 2013-01-09 11:43:40 +00:00
Tiago Gomes
24271157ce Clean unecessary latex documents 2013-01-08 22:55:27 +00:00
Tiago Gomes
59ae52623c PFL manual: several improvements 2013-01-08 22:51:44 +00:00
Tiago Gomes
6755e50525 PFL manual: small improvements 2013-01-08 22:00:31 +00:00
Tiago Gomes
ea054468bc Improve hcli usage string 2013-01-08 21:17:56 +00:00