Commit Graph

1071 Commits

Author SHA1 Message Date
Vítor Santos Costa
e7477d9888 foreach + fold (idea from BProlog) 2013-09-20 01:42:50 +01:00
Vítor Santos Costa
0f45b3dc42 foreach on matrices (idea from BProlog) 2013-09-20 01:16:25 +01:00
Vitor Santos Costa
28ff95f8de progress with matrix package 2013-09-19 17:59:37 +01:00
Vítor Santos Costa
285c61b87f development commit 2013-09-19 14:35:31 +01:00
Vítor Santos Costa
b2dcbe961c development commit 2013-09-19 14:34:44 +01:00
Vitor Santos Costa
5cd9720593 DFA and TupleSet 2013-09-12 10:17:59 +01:00
Vitor Santos Costa
9d4c7a5c8c include min and max of lists 2013-09-11 22:01:18 +01:00
Vitor Santos Costa
23b860a977 scalar_product and a fix 2013-09-11 14:53:43 +01:00
Vitor Santos Costa
b30f0eafdf fixes to clpbn interface 2013-09-11 13:04:39 +01:00
Vitor Santos Costa
12d1e17dd3 first cut at supporting TupleSets 2013-09-11 12:31:07 +01:00
Vitor Santos Costa
99ab8e541b improve CLP support 2013-09-11 12:30:31 +01:00
Vitor Santos Costa
52c0d8a8de first cut at supporting TupleSets 2013-09-11 12:29:49 +01:00
Vitor Santos Costa
46c3c4546f examples 2013-09-10 09:57:26 +01:00
Vítor Santos Costa
77e1d9425b improve clpfd emulation 2013-09-10 00:53:54 +01:00
Vitor Santos Costa
eadfdbd646 clp like interface to gecode 2013-09-09 23:48:44 +01:00
Vitor Santos Costa
cda2e3bffe clp like interface to gecode 2013-09-09 23:48:02 +01:00
Vítor Santos Costa
6966d23195 fix P details when creating execution environment: we should save the old one 2013-09-08 22:24:09 +01:00
Vítor Santos Costa
4c148cc0d3 fix bad setup of goal (SWI emulatin for JPL, Sergio Castro) 2013-09-07 01:03:27 +01:00
Vítor Santos Costa
a1b5764527 gecode: clone by default (oops) 2013-09-05 00:47:37 +01:00
Vítor Santos Costa
9932aff5c4 gecode: clone by default 2013-09-05 00:46:00 +01:00
Vítor Santos Costa
ef82f25594 control changes for gecode 2013-09-05 00:26:54 +01:00
Vítor Santos Costa
90c70459be fix FloatVar code 2013-09-04 17:11:22 +01:00
Vítor Santos Costa
614e7ab856 initialize FloatVar 2013-09-04 17:01:37 +01:00
vsc
6ab396ee85 support for gecode 4, reification, initial floats 2013-09-04 04:50:32 -05:00
Vítor Santos Costa
bc992f552f use new notation 2013-07-16 07:59:38 -05:00
Vitor Santos Costa
459ab89d7d more ezo stuff 2013-06-28 21:15:03 -05:00
Vitor Santos Costa
e50f62ba3f accumulator first try 2013-06-22 00:26:43 -05:00
Vítor Santos Costa
44dccc00bb fix exception passing from SWI 2013-06-20 12:11:29 -05:00
Vitor Santos Costa
4826d92709 exo updates 2013-06-05 23:00:57 +01:00
Vitor Santos Costa
889279cd81 fix prototype 2013-06-03 23:46:09 +01:00
Vitor Santos Costa
933ee11985 add a second selectlist 2013-06-03 16:39:48 -05:00
Vitor Santos Costa
c04f04d078 more exo fixes. 2013-04-29 16:19:43 -05:00
Vitor Santos Costa
72cc5bc317 generalise interval handling 2013-04-29 11:58:05 -05:00
Vitor Santos Costa
edbc21dcb0 fix typo 2013-04-26 18:23:17 -05:00
Vitor Santos Costa
6480f75b23 compile conditionally on HAVE_MPI_H. 2013-04-26 18:12:23 -05:00
Vítor Santos Costa
2c49edb975 more exo stuff 2013-04-25 09:48:06 -05:00
Vitor Santos Costa
66af6f7642 fix quotes 2013-04-08 17:51:55 -05:00
Vitor Santos Costa
439b7e293f use --showme in lammpi. 2013-04-08 17:20:13 -05:00
Vitor Santos Costa
230debfb44 enable compiling, but needs fixing YAP_Write 2013-04-07 00:01:46 +01:00
Vitor Santos Costa
a599699f0c new dgraph path predicate 2013-03-24 09:12:55 -05:00
Vítor Santos Costa
b88dcb86ab fix tid lookup 2013-03-10 16:44:46 -05:00
Vitor Santos Costa
7f758cf103 SWI expects thread IDs to be like addresses 2013-03-10 16:39:54 +00:00
Vitor Santos Costa
d59afea65e fix determinacy 2013-03-05 15:46:40 -06:00
Vítor Santos Costa
e27ceac1aa fix extra cp 2013-02-14 20:42:23 -06:00
Vitor Santos Costa
9fb63762dc delete_file should be SICStus compatible 2013-02-12 16:21:26 -06:00
Vitor Santos Costa
9f49512497 make SWI exec safer 2013-02-06 00:17:09 +00:00
Vitor Santos Costa
33da88be5b fix SWI exec issues and try to clean up the code a bit 2013-02-05 14:22:17 +00:00
Vitor Santos Costa
e87a4f4f56 handle exec flags 2013-01-18 14:26:24 +00:00
Vitor Santos Costa
e7da973009 FreeBSD support by mei 2013-01-17 12:59:52 +00:00
Vitor Santos Costa
33714b14b9 atom completion in readline 2013-01-17 12:43:01 +00:00
Vitor Santos Costa
7407ecb60c SWI extension including write variable_names 2013-01-17 00:17:02 +00:00
Vitor Santos Costa
e85e76cd57 update to newer pl-file.c and pl-write.c. 2013-01-15 16:51:55 +00:00
Vitor Santos Costa
84b0529060 improve prism compatibility (fix asia). 2012-12-14 08:26:56 +00:00
Vitor Santos Costa
e41f821d67 improve multi-threading support from C-interface. Still not quite there. 2012-12-11 22:07:10 +00:00
Vitor Santos Costa
7fe1f20200 indenting 2012-12-07 08:07:30 +00:00
Vítor Santos Costa
2a737fe22b small speedups 2012-11-05 13:49:49 +00:00
Vitor Santos Costa
06051f05fb fix swi interface. 2012-10-28 18:21:11 +00:00
Vitor Santos Costa
139b06115e range builtins 2012-10-23 14:55:17 +01:00
Vitor Santos Costa
bb71204a11 small tests for MPI interface 2012-10-11 13:47:29 +01:00
Vitor Santos Costa
3f6e56eb82 fix overflow in SWI interface code. 2012-10-09 16:30:18 +01:00
Vitor Santos Costa
b0ddda1fde fix PL_is_list 2012-10-08 18:26:40 +01:00
Vitor Santos Costa
daf9f589b9 cleanup now in system 2012-10-08 18:26:05 +01:00
Vítor Santos Costa
a3757ddbd7 more examples. 2012-10-02 15:16:30 +01:00
Vítor Santos Costa
c8468f6391 add foldl4 2012-10-02 08:47:27 +01:00
Vitor Santos Costa
55f28a75ab be a bit more careful saving state. 2012-09-26 22:07:47 +01:00
Vítor Santos Costa
419bd2b219 Fix WriteBuffer and add WriteDynamicBuffer 2012-09-18 23:07:32 +01:00
Vítor Santos Costa
8d779f68ea fix writebuffer interface 2012-09-08 00:12:38 +02:00
Vítor Santos Costa
fa2c5ee114 more foldl2 2012-09-07 07:42:16 +02:00
Costa Vitor
5a3cb76378 fold operation on tree 2012-08-28 20:19:22 -05:00
Costa Vitor
5c70b295bd fold operation on tree 2012-08-28 20:19:10 -05:00
Costa Vitor
38a2bee3ab Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2012-08-24 15:19:44 -05:00
Costa Vitor
cb53d087b2 add rb_fold/4. 2012-08-24 15:19:15 -05:00
Vítor Santos Costa
d871b8dd2a scanl and foldl. 2012-08-24 10:39:14 -05:00
Vítor Santos Costa
e7551b106a emulate old yap socket (thanks to Jan code). 2012-07-26 16:16:26 -04:00
Vítor Santos Costa
9d48e0ed79 fix compatibility with unix library. 2012-07-25 22:36:19 -04:00
Costa Vitor
efc857b3e1 small fixes. 2012-07-16 14:10:22 -05:00
Vítor Santos Costa
61439cdd12 iimprove dbusage debugging module. 2012-07-16 10:19:15 -05:00
Denys Duchier
97163fa150 place INLINE_ONLY at front of extern inline declarations AND definitions. gcc and clang then behave the same. 2012-06-30 20:42:14 +02:00
Vítor Santos Costa
fab462b002 Merge branch 'master' of https://github.com/denys-duchier/yap-6.3 2012-06-29 22:45:47 +01:00
Vítor Santos Costa
70bde4d38f inline extern patch by Denys Duchier 2012-06-29 22:44:08 +01:00
Vitor Santos Costa
5989af937b MT support in mingw win32. 2012-06-29 15:38:49 -05:00
Denys Duchier
3d28c7939e Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-06-28 14:05:38 +02:00
Denys Duchier
8b57ca1cef copy-and-paste bug in dimensioning a dynamic array 2012-06-28 14:04:41 +02:00
Vitor Santos Costa
a9d1bd788e improve SWI console 2012-06-22 03:56:01 -05:00
Vitor Santos Costa
58c3445d82 win console. 2012-06-08 06:55:23 -05:00
Vitor Santos Costa
06cd0c7414 fix overflow handling. 2012-05-15 16:03:41 +01:00
Vitor Santos Costa
682db0aad4 support term_subsumer. 2012-05-14 15:04:19 +01:00
Vítor Santos Costa
c3e3b0b50f fix term_to_atom/2. 2012-05-02 23:38:04 +01:00
Ricardo Rocha
42631bcc71 missing cache regs 2012-04-23 18:57:10 +01:00
Vítor Santos Costa
a9434aed37 more gc changes. 2012-04-20 23:45:16 +02:00
Vítor Santos Costa
fac8af303d fix call to gc. 2012-04-18 00:57:43 +02:00
Denys Duchier
c484053210 added a README file for gecode bindings 2012-04-16 22:28:35 +02:00
Denys Duchier
638bcfb242 added support for gecode 3.7.3 2012-04-16 22:14:34 +02:00
Denys Duchier
82ced70a33 maybe import customize_compiler from new distutils 2012-04-16 22:02:53 +02:00
Denys Duchier
347b28f69d removed -q option because of new g++ 2012-04-16 21:59:11 +02:00
Denys Duchier
b66b261972 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-04-16 21:51:54 +02:00
Vítor Santos Costa
01b86d78cc support warning if matlab is not to be found. 2012-03-22 21:42:11 +00:00
Vítor Santos Costa
a0d2e6f285 dgraph_leaves: all leaves in a directed graph (linear time). 2012-03-22 21:41:48 +00:00
Denys Duchier
05bd59a2fb better error messages. regenerated for all versions of gecode 2012-03-22 20:49:24 +01:00
Denys Duchier
8b16734e1c fix for setvars. also slightly better errors in generated code. 2012-03-22 16:10:59 +01:00
Denys Duchier
48cb3d6543 added support for gecode 3.7.2 2012-03-22 15:10:19 +01:00
Vítor Santos Costa
7b84608e5e ifix case where we lose hash table output. 2012-03-22 12:07:38 +00:00
Vítor Santos Costa
88cc8a0bdb predicate options. 2012-02-13 09:39:09 +00:00
Vítor Santos Costa
795a958090 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2012-02-12 12:29:00 +00:00
Vítor Santos Costa
ea18699602 JPL support patches. 2012-02-12 12:28:37 +00:00
João Santos
21522ce151 CACHE_REGS 2012-02-07 15:18:43 +00:00
Vitor Santos Costa
3648c562fa more lammpi compilation fixes. 2012-02-06 17:35:32 +00:00
Vitor Santos Costa
e032d5faf7 configure fixes for LAM MPI. 2012-02-06 16:44:33 +00:00
Vítor Santos Costa
0b1c98d3f6 allow MPI to compute term size. 2012-02-05 11:57:03 +00:00
Vítor Santos Costa
bd677152e7 more MPI fixes. 2012-02-05 11:20:30 +00:00
Vítor Santos Costa
e6fb330f58 fix warnings. 2012-02-03 20:55:35 +00:00
Vítor Santos Costa
5e85dcbd8e an example. 2012-02-03 20:53:59 +00:00
Vítor Santos Costa
a2c86643b0 ismall fixes to MPI interface. 2012-02-03 16:31:49 +00:00
Vítor Santos Costa
ab33cacf7b LAM MPI interface support. 2012-02-02 23:25:31 +00:00
Vítor Santos Costa
6eea1fe1ea fixes for export_term and friends. 2012-02-02 23:25:09 +00:00
Vítor Santos Costa
c60514f89b add some MPI tests. 2012-02-02 10:00:17 +00:00
Vítor Santos Costa
4e6cc28cd3 lam support. 2012-02-02 09:58:05 +00:00
Vítor Santos Costa
7e73c781b0 configure fixes for lam-mpi. 2012-02-01 19:26:58 +00:00
Vitor Santos Costa
db619fa81f protect atoms in SWI interface. 2012-01-17 12:37:29 +00:00
Vítor Santos Costa
f2dc53a53e atoms passed through the SWI interface must always have a hold. 2012-01-15 11:21:38 -06:00
Vítor Santos Costa
5ce80cfe8a fix matrix row removal. 2012-01-10 18:49:16 +00:00
Vitor Santos Costa
d3c7800ab4 support PL_skip_list and PL_unify_bool. 2012-01-09 23:29:31 +00:00
Vitor Santos Costa
f632bc72bc comment out debugging codes. 2012-01-09 23:27:22 +00:00
Vítor Santos Costa
00b5edd8da allow copying a chunk of floats to a list in a single operation. Also
improve performance of sum out operation on arrays.
2011-12-30 16:04:16 +00:00
Vítor Santos Costa
551df1c70a handle blob overflows. 2011-12-22 10:27:56 +00:00
Denys Duchier
0eb760e68f doc for kept vars 2011-12-03 23:35:44 +01:00
Denys Duchier
8aa813d342 initial support for 'keep' 2011-12-03 23:31:28 +01:00
Denys Duchier
696e0e91e7 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-12-03 22:05:22 +01:00
Denys Duchier
9a78735aaf added support for search options 2011-12-03 22:04:04 +01:00
Vítor Santos Costa
514189e097 gecode compatibility. 2011-12-02 23:09:25 +00:00
Denys Duchier
9ebcae23ea add -framework gecode if necessary 2011-12-02 14:30:55 +01:00
Denys Duchier
7c78f52a89 support search options, added 'restart' 2011-12-01 22:48:28 +01:00
Denys Duchier
d9ce468a03 move to a leaner install procedure 2011-12-01 21:54:39 +01:00
Vítor Santos Costa
ee4ad9ffd0 ifix warnings. 2011-11-30 13:05:44 +00:00
Vítor Santos Costa
7b6d26b014 fix thread stuff. 2011-11-16 15:20:21 +00:00
Vítor Santos Costa
42cb27c973 ifix typo. 2011-11-14 14:36:24 +00:00
Vítor Santos Costa
02a8b35e36 improve action rules compilation. 2011-11-10 12:27:07 +00:00
Vítor Santos Costa
2ee9981a11 new Makefiles and prototypes. 2011-11-03 07:55:56 +09:00
Vítor Santos Costa
1d2de81e86 update bprolog emulation stuff. 2011-11-03 07:54:51 +09:00
Vítor Santos Costa
fc2a50b67e use C-code. 2011-11-03 07:51:58 +09:00
Vítor Santos Costa
51bcb1f5a3 handle PL_unify_int64 without bigint when number is small enough. 2011-11-03 07:45:51 +09:00
Vítor Santos Costa
73e3359d4f enumerate bhashes and fix bug in haash expansion. 2011-11-03 07:44:38 +09:00
Vítor Santos Costa
1769fc7313 bprolog support 2011-10-27 12:38:22 +02:00
Vítor Santos Costa
20a1362bf8 bprolog support 2011-10-27 12:38:11 +02:00
Vítor Santos Costa
c57fbf40e6 extend support for hash tables. 2011-10-24 22:49:42 +01:00
Vítor Santos Costa
73dd81478f B-Prolog suppoty. 2011-10-24 22:47:42 +01:00
Vítor Santos Costa
f6cc9578ae first cut at emulation for BP C-interface. 2011-10-24 22:44:41 +01:00
Vítor Santos Costa
c052b195e5 fix interface dependencies. 2011-10-21 22:06:13 +01:00
Vitor Santos Costa
565407926d compilation fixes. 2011-10-13 16:47:02 +01:00
Vitor Santos Costa
9cfd4d8d8b move package/PLStream to os
modify Makefiles accordingly
define __unix__ on Unix like clones (OSX, AIX, etc).
2011-09-04 19:42:33 +02:00