Commit Graph

587 Commits

Author SHA1 Message Date
Vitor Santos Costa
d05dfc3283 allow different comparison functions in b_hash 2009-04-04 23:57:46 +01:00
Vitor Santos Costa
cc7ff82275 term_hash non non_ground terms: ignoring the variables. 2009-03-31 21:56:12 +01:00
Vitor Santos Costa
67b29f3c85 improve SWI compatibility. 2009-03-13 19:40:27 +00:00
Vitor Santos Costa
66931e6518 Prolog dialect support 2009-03-06 10:59:02 +00:00
Vitor Santos Costa
d98c3f0817 add support for sized queues. 2009-02-27 22:22:49 +00:00
Vitor Santos Costa
a000af113b OSX portability updates
start of support for commons prolog initiative
2009-02-16 12:25:03 +00:00
Vitor Santos Costa
3439cc8787 From Jose Santos: rb_map is a meta_predicate! 2009-02-10 22:53:40 +00:00
Vítor Santos Costa
43e70f2003 more changes to support SWI Input/Output. Now it compiles, which does
not mean it would work!
2008-12-22 12:03:14 +00:00
Vítor Santos Costa
e51a4c2f5b more changes to interface better with SWI-Prolog 2008-12-19 11:41:56 +00:00
Vítor Santos Costa
a2744ed186 further changes to better support SWI interface. 2008-12-17 14:47:05 +00:00
Vítor Santos Costa
f19db29647 support split on blank spaces (tab and spaces). 2008-12-17 14:46:39 +00:00
Vítor Santos Costa
2b0c27deb6 Remove attempt to emulate SWI I/O
add YAP_getcwd and PL_cwd to interface
2008-12-13 16:07:55 +00:00
Vitor Santos Costa
a64c1138df more CLP(BN) fixes
- support clpbn_table for an efficient implementation of deterministic tabling.
- corresponding changes to learning algorithm.
2008-11-18 11:29:59 +00:00
Vitor Santos Costa
abf9691282 fixes to hashing code. 2008-11-18 11:29:08 +00:00
Vitor Santos Costa
1be78e23ec had shortcut for var-to-var unification. 2008-11-14 14:54:52 +00:00
Vitor Santos Costa
8e9fde1c6c backtrack global hash table. 2008-11-14 14:50:04 +00:00
Vitor Santos Costa
13fb5d5156 fix underflows when computing marginals. 2008-11-04 03:55:49 +00:00
Vitor Santos Costa
8938666bf5 add sum_list/3 2008-11-03 16:00:22 +00:00
Vitor Santos Costa
4a2aa23c5b more CLP(BN) fixes, add softening option when computing MLE estimators. 2008-10-31 15:11:27 +00:00
Vitor Santos Costa
9c1ee7ba34 add matrix_row to get a row of a matrix
fix a bit of error handling.
2008-10-31 09:47:58 +00:00
Vitor Santos Costa
aca06e16fc fix bad call to map_tree (obs from Paulo Moura). 2008-10-31 09:42:32 +00:00
Vitor Santos Costa
0dcf34b7bc mainbranch fixes to:
- fix quoted characters output
- fix line position in read_term and friends
- make messages look a bit better
- CLP(BN) EM improvements.
2008-10-23 22:17:45 +01:00
Vítor Santos de Costa
b3cb7b1071 add log/2 and exp/2 2008-10-22 00:40:15 +01:00
Vítor Santos Costa
9c3ef66490 fix OSX breakage 2008-10-20 17:58:12 +01:00
Vitor Santos Costa
83c6d45cbc fixed: bad argument passing in expand_component. 2008-09-30 11:46:49 +01:00
Vítor Santos Costa
65ccd336b2 fix a stupid threads bug 2008-09-04 16:58:45 +01:00
Vitor Santos Costa
83ebf097df add support for dbusage 2008-09-01 04:45:55 +01:00
Vitor Santos Costa
236ffa0718 add useful debugging info on data base usage. 2008-09-01 04:45:16 +01:00
Vitor Santos Costa
2a53a46d12 document lineutils 2008-09-01 04:44:54 +01:00
Vitor Santos Costa
2a84e259a2 Upgrade to new CHR (with Jan's changes).
Found out I need to add an extra field to allocate so that the
exception handling code knows where the clause is.
Protect creep_allowed from NULL pointers.
2008-08-30 16:24:44 +01:00
Vitor Santos Costa
24c2650472 get rid of suprious definition of $message 2008-08-27 00:43:40 +01:00
Vitor Santos Costa
6f0b3cf2f5 fix flatten/2: it would not create variable elements. 2008-08-25 20:41:09 +01:00
Vitor Santos Costa
8169ef0343 fix stack_dump 2008-08-25 15:20:18 +01:00
Vitor Santos Costa
a72355f288 redefine arg/3 as genarg/3 unless first argument is bound on call.
term_variables/3 and /2 is now a builtin-in, and thus not in the interace.
2008-08-24 14:25:04 +01:00
Vítor Santos Costa
d96461f04c add missing files 2008-08-21 13:39:56 +01:00
vsc
82efc8fb2c small fixes to compile in Windows again.
Trust _isatty


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2311 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-22 01:59:48 +00:00
vsc
d170b34624 MaxOS fixes
Avoid a thread deadlock
improvements to SWI predicates.
make variables_in_term system builtin.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2304 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-12 01:27:23 +00:00
vsc
dbd6e1b139 fix fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2298 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-06 17:34:15 +00:00
vsc
85d7d39dbf more thread fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2297 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-06 17:32:22 +00:00
vsc
a3983fa820 swi compatibility support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2294 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-01 21:44:25 +00:00
vsc
e1866e2917 improve C-interface and SWI comptaibility a bit.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2292 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-24 16:02:04 +00:00
vsc
75c72d7b7d SWI and module fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-22 23:34:50 +00:00
vsc
d832a81991 add extra versions to maplist and fix apply macros to handle predicates
with the same aargument.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2288 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-16 10:45:47 +00:00
vsc
dc45cde7ee flatten does not need to be defined as a system predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2287 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-16 10:34:00 +00:00
vsc
d8e5f2c895 fixes by Bart and Tom: mostly libraries but nasty one in indexing
compilation.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2286 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-11 17:02:10 +00:00
vsc
0dd1ed933e improve graphs a bit.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2285 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-26 13:09:15 +00:00
vsc
ac6ddd5005 fix syntax error messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2275 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-12 10:55:52 +00:00
vsc
8a00ab9d70 fix insert_new in rbtrees
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2274 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-11 16:57:31 +00:00
vsc
02565ae625 some nice extra predicatesy
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2273 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-11 11:08:25 +00:00
pmoura
6a2843f4e3 Logtalk is no longer distributed with YAP. Please use the Logtalk standalone installer for a smooth integration with YAP.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2268 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 09:55:34 +00:00
pmoura
dccdcc7ada Logtalk is no longer distributed with YAP. Please use the Logtalk standalone installer for a smooth integration with YAP.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2267 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 09:48:36 +00:00
vsc
87fcf6233c put chr back to life
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2265 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 08:05:11 +00:00
pmoura
ea139a37c6 Logtalk is no longer distributed with YAP. Please use the Logtalk standalone installer for a smooth integration with YAP.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-07 10:11:44 +00:00
vsc
39e72437b0 extra fixes to list_to_rbtree
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2263 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-05 22:12:22 +00:00
vsc
5d49f14545 fix rbtrees built from ordered lists
fix jt
be more flexible about unbound parents


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2260 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-05 16:24:08 +00:00
vsc
f868298acf fix some cleanups
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2256 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 22:43:14 +00:00
vsc
aa92d9628d fix fixes to prandom
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2254 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 09:27:57 +00:00
vsc
02497c1172 fix manual and message handling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2253 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 09:24:28 +00:00
vsc
8e6403794f fix abolish bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2252 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-02 17:20:28 +00:00
vsc
fbc1f5e4a9 fix sys.c for win32
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2245 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 13:16:13 +00:00
vsc
5974495e87 Latest from Markus!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2244 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 10:43:27 +00:00
vsc
6fbe60046b fix rb_insert and add Jan's comments.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2243 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 10:42:14 +00:00
vsc
a70fb91592 add tmp_file/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2241 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-22 23:25:21 +00:00
vsc
316811d2cd user:goal_expand should be called before import
add extra apply_macros and apply stuff; fix unexisting definitions.
add forall/2 and ignore/1 to system stuff.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2237 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-15 13:41:48 +00:00
ricroc
ed339dcb12 Tries module: when loading a trie from a file, we now check if the file is corrupted before starting loading.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2232 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-07 14:21:39 +00:00
vsc
3c3d0de2de partial fix to predicate_property trouble (obs from Nicos).
fix core dump when writing arrays without bignum support.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2217 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-14 17:30:18 +00:00
vsc
5b6e8e742b more fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-31 22:56:22 +00:00
vsc
24b91ce2e1 rl_tree library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2171 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-27 14:59:29 +00:00
nunofonseca
48f393bedf RL-Trees module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2169 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 23:05:22 +00:00
vsc
f933b890f0 fix thread_dettach
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2167 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 14:41:45 +00:00
vsc
0c0826b938 fix some icc warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2165 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 22:03:14 +00:00
vsc
b2274186bd make or-parallelism compile again
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2164 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 16:45:53 +00:00
vsc
84c15fda0b regexp core-dump (obs from Ryszard Szopa)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2163 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 11:54:08 +00:00
vsc
381a3401ac further upgrades to chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2147 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:43:13 +00:00
vsc
54ceaa1f37 string manipulation utilities for scripts.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2146 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:38:24 +00:00
vsc
0e45f242d4 update to CLP(QR). Note that CLP(Q) is still unsupported.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2145 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:16:47 +00:00
vsc
d02bc3de81 update chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2143 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 14:38:02 +00:00
vsc
d0cd8182d9 fix path issues when opening files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2137 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 15:37:34 +00:00
rzf
2e289a8317 reverted to old version due to a wrong commit
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2124 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:37:56 +00:00
rzf
b55a9bd8f9 added option for setting the value of zeros in cpt table. By using a small value rather than 0.0 some errors with jt and vel are avoided
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2123 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:11:18 +00:00
vsc
9c54e6c7bb improve library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2122 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-28 00:33:52 +00:00
vsc
a3f3d62b1b more fixes to messages
improve lineutils


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2117 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-25 10:15:31 +00:00
vsc
6a7e26eab1 Marku's latest, thanks!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2116 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-25 09:58:11 +00:00
ricroc
bd957c06b6 support for trie_traverse/2 and itrie_save_as_trie/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2110 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-22 18:57:27 +00:00
ricroc
596ecc5126 support for trie_traverse/2 and itrie_save_as_trie/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2109 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-22 18:47:24 +00:00
vsc
17d16e0b14 Big update to support more SICStus/SWI like message handling
fix YAPSHAREDIR
fix yap.tex (Bernd)


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2107 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-22 15:08:37 +00:00
ricroc
da6d73302a bug in trie_join functions fixed
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2106 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-21 15:14:41 +00:00
vsc
6d4edaa609 allow float matrix to be initialised with ints.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2098 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-13 15:20:59 +00:00
vsc
efe6c4eaef condor support.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2092 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 21:50:58 +00:00
vsc
8ccc09d38f Quintus arg package
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2091 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 21:39:37 +00:00
vsc
29d7bac9b7 a few extra portability fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2090 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 18:10:48 +00:00
vsc
af0fb4f4d9 SWI-portability changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2088 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 17:03:59 +00:00
ricroc
1ac399f57b new support for join/intersect operations
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2086 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-11 17:00:23 +00:00
ricroc
458bdd890d bug in auxiliary_term_stack_size
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2084 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-08 19:35:12 +00:00
vsc
7a9e7816c9 undo current_predicate changes and make iso fully use LU semantics.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2083 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-08 09:49:21 +00:00
vsc
10afcef66b new version of CLP(FD)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2078 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-07 11:28:14 +00:00
ricroc
51fd3b2dcc trie support for atoms with spaces
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2075 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-01 18:59:38 +00:00
vsc
44e4a953e4 fix another trail overflow.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2064 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-27 23:07:30 +00:00
vsc
817663588d get rid of debugging messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2057 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-23 22:22:42 +00:00
vsc
535a43245d line utilities
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2052 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-14 16:34:06 +00:00
vsc
3faa45cb0a new version of clp(fd)
fix deadlock with empty args facts in clause/2.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2047 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-26 19:50:40 +00:00
vsc
aa642a83f9 weighted graphs SICStus like library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2038 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 14:49:59 +00:00
vsc
64d62f1e3e improve JT
fix graph compatibility with SICStus
re-export declaration.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2037 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 12:17:25 +00:00
vsc
1bd96722de junction tree algorithm
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2031 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-28 23:52:14 +00:00
ricroc
5941606d19 fixed bug in itrie_traverse_cont()
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2029 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-20 16:15:41 +00:00
vsc
507d3058f4 fix some overflows
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2028 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-20 15:51:39 +00:00
vsc
d908c8633f implement sophisticated operations with matrices.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2022 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 14:58:41 +00:00
pmoura
c1a999bfb1 Logtalk 2.30.8 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1989 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-09 19:05:00 +00:00
vsc
e01e7cc8bf small fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1977 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-07 09:35:53 +00:00
pmoura
42aabce1bb Logtalk 2.30.7 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1973 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-06 01:50:09 +00:00
vsc
9e9c260f7e new version of viterbi implementation
fix all:atvars reporting bad info
fix bad S info in x86_64


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1968 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-28 00:54:09 +00:00
vsc
c625347697 fix global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1962 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-18 08:24:16 +00:00
vsc
6cc9e24976 upgrade chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1957 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-16 23:17:04 +00:00
vsc
5df974b857 some more fixes to make YAP swi compatible
fix absolute_file_name (again)
fix setarg


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1951 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-10 09:44:28 +00:00
vsc
fb37dd62ea CLP(FD) thanks to Markus Triska!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1950 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-09 22:13:55 +00:00
vsc
642b498728 fix garbage collector and fix LeaveGoal
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1945 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-05 18:24:30 +00:00
vsc
31ff28d3ee upgrade JPL
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1936 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-27 15:25:34 +00:00
vsc
c64baeb728 move yap2swi.o to main.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1923 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-12 10:13:38 +00:00
vsc
35cb7569b7 fix recent includes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1921 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-04 22:37:02 +00:00
vsc
4c08960096 Improve SWI interface emulation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1920 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-04 10:34:55 +00:00
vsc
66d14116dd improve CLP(BN)/BNT interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1918 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-08-06 14:55:43 +00:00
vsc
9a730f3b05 CLP(BN) related fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1914 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-07-07 01:52:57 +00:00
vsc
69046824cd add documentation to matrix library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1912 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-07-03 15:24:20 +00:00
vsc
cd23c60c45 move to 5.1.3
add MATLAB docs.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1910 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-29 01:33:35 +00:00
pmoura
9fc2c47d53 Logtalk 2.30.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1908 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-24 13:27:35 +00:00
vsc
7a98e7df59 fix bug in index emulator
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1905 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-20 13:48:45 +00:00
pmoura
6b4bde14e1 Logtalk 2.30.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1903 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-12 10:39:47 +00:00
pmoura
211e5cec2b Added emulation of the =@=/2 predicate to the SWI-Prolog compatibility library.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1891 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-02 15:37:50 +00:00
vsc
dc9ab3b1c7 fix library search.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1888 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-24 19:54:45 +00:00
vsc
244d4128cf matlab interface.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1887 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-24 15:11:46 +00:00
vsc
5affad32b6 use setitmer instead of alarm.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1886 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-20 23:00:38 +00:00
tiagosoares
ed7873ef8a MYDDAS: Added db_sql_mode/1 and db_sql_mode/2 predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1885 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-20 21:33:29 +00:00
vsc
498c7a6d42 fix min list
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1882 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-15 11:33:51 +00:00
vsc
804348c83c fix mktime fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1880 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-07 12:11:39 +00:00
vsc
b13be040d8 mktime needs to know if daylight time savings are on
(obs from Bernd Gutmann).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1879 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-07 11:21:29 +00:00
ricroc
d9b7100f37 tries library module
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1877 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 15:31:23 +00:00
ricroc
e9c848ea41 tries library module
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1876 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 15:23:00 +00:00
vsc
d931ff8cdd small fixes to sys.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1875 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 11:16:43 +00:00
vsc
2d3d3ff22c get rid of small bugs/warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1874 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 11:12:39 +00:00
vsc
f1411c368e CLP(BN) fixes and declare dynamic as dynamic.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1861 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-30 22:42:15 +00:00
vsc
0f5ccae3b7 fix gmpless blob handling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1860 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-30 16:47:22 +00:00
pmoura
4569fca292 Logtalk 2.29.5 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1858 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-28 22:44:31 +00:00
vsc
0b7083adb2 make sure that YAP_Restart does not restart a failed goal.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1855 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-22 11:12:22 +00:00
vsc
621e47f8a4 add nb_current and fix nb_delete.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1801 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-21 16:50:51 +00:00
pmoura
46c8cfbeff Logtalk 2.29.4 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1799 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-19 18:58:28 +00:00
ricroc
a32d5dbe5f *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1796 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-13 12:35:30 +00:00
pmoura
73a30641a0 Fixed typo on nextto/3 documentation pointed out by Christian Thaeter.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1794 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-12 10:33:01 +00:00
pmoura
b697f3d34e Logtalk 2.29.3 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1781 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 11:01:56 +00:00
vsc
48fdba3f1e fix matrix mess
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1778 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 10:01:40 +00:00
pmoura
e75e406f84 Logtalk 2.29.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1773 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-10 12:46:10 +00:00
vsc
0cef3c5389 fix restore (Trevor)
make indexing a bit faster on IDB


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1771 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-08 08:27:19 +00:00
pmoura
23fb55aa62 Logtalk 2.29.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1746 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-29 09:48:32 +00:00
vsc
7a82e1b59b Varnumbers predicate (originally in QP)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1741 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 12:26:33 +00:00
vsc
b998d18a1a direct access to blood curdling stuff!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1740 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:54:21 +00:00
vsc
78b52b925c diverse fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1738 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:32:38 +00:00
vsc
72064a8c74 compact representation for matrix operations
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1737 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:34:16 +00:00
vsc
9ff0059be3 create directory matrix in right place
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1736 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:33:32 +00:00
vsc
ab1d33cf8c small fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1735 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:11:13 +00:00
vsc
922406496b add matrix operations support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1734 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-14 17:17:01 +00:00
vsc
90c1641841 several debugger and CLP(BN) improvements.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1732 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-13 16:10:26 +00:00
pmoura
36a326908c Logtalk 2.28.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1711 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-07 17:11:47 +00:00
vsc
bd015b83ee fix avl stuff and all/3 stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1707 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-19 15:09:03 +00:00
vsc
13080439a6 small fixes on threaded implementation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1700 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-10 14:08:17 +00:00
vsc
53b412d1a8 fix make_directory
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1697 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-09-28 16:29:50 +00:00
vsc
23757e5563 fix bropken MPI_LAM configure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1695 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-09-28 11:42:51 +00:00
vsc
29bbffc650 global data structures
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1687 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-25 19:50:35 +00:00
vsc
d11fd73306 global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1685 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-22 16:12:46 +00:00
vsc
0f714371e5 fix garbage collector not to try to garbage collect when we ask for large
chunks of stack in a single go.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1684 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-07 18:51:44 +00:00
vsc
089e864621 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1682 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-04 04:06:33 +00:00
vsc
d7b73e6886 readutil library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1681 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-03 01:50:47 +00:00
vsc
d8d4d1516d preliminary support for readutil library (SWI compatible).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1678 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-02 18:18:31 +00:00
vsc
beba8315ca fix nasty overflows in and add some very preliminary support for very large
clauses with lots
of disjuncts (eg, query packs).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1676 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-07-27 19:04:56 +00:00
vsc
4dc4eb8a75 fix min_list
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1675 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-07-16 01:44:17 +00:00
vsc
24b78dbf8b an implementation of queues in the DB.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1674 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-07-16 01:41:07 +00:00
tiagosoares
3af669d7d2 MYDDAS: Fixed some single_var_warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1673 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-09 18:32:01 +00:00
nunofonseca
21662f4015 lam_mpi: fixed error during instalation when not compiled.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1672 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-06 17:07:05 +00:00
tiagosoares
989d9579b3 MYDDAS: Fix a bug on memory dealocation on MYDDAS_STATS module
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1669 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-06 14:11:36 +00:00
nunofonseca
0db94f615a Changed copyright notice to GPL.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1667 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-04 19:02:07 +00:00
nunofonseca
67dfd7facb Fixed compilation warnings.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1666 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-04 18:45:20 +00:00
nunofonseca
87bac7cafa New LAM MPI module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1665 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-04 18:43:38 +00:00
nunofonseca
b984d9191e New LAM MPI module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1660 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-02 04:16:31 +00:00
tiagosoares
637cb7812c MYDDAS: MySQL Top Level now available with db_top_level/4 or db_top_level/5 predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1659 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-31 14:35:05 +00:00
vsc
f5b9000018 include thread_sleep functionality.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1653 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 16:28:28 +00:00
vsc
00d12106d0 make chr work and other minor fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1648 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-24 02:35:39 +00:00
tiagosoares
4bf4767073 MYDDAS: New internal organization and new MYDDAS statistics
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1646 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-22 16:45:07 +00:00
vsc
b172a9e75d fixes to Makefile and manual.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1641 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-19 17:49:25 +00:00
vsc
ba3ea30e8e some matricial operations, very early development right now
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1639 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-19 13:51:24 +00:00
vsc
871bb9e024 help to make Yap work with dynamic libs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1638 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-19 13:48:11 +00:00
vsc
64a70572de make system library use true file name
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1633 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-17 18:38:11 +00:00
tiagosoares
174a2c4518 MYDDAS: Enhanced statistics ability
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1628 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-03 18:02:29 +00:00
tiagosoares
fd79ec1b9d MYDDAS: added new predicates to the MYDDAS interface. db_call_procedure/3 and db_sql_mode/2. Added also a sql_query_optmizer for translate/3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1623 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-30 10:11:25 +00:00
vsc
b9e5416355 fix ! in debugger (execute_clause)
improve system/1 and execute/1


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1610 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-25 03:23:40 +00:00
vsc
5198ba1077 more graph stuff.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1603 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-20 15:28:08 +00:00
vsc
6d704a6675 commit updates to graphs and red-blac trees.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1602 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-14 01:01:55 +00:00
rslopes
e2b10fe908 fix for older compilers
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1593 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-11 16:49:07 +00:00
vsc
783ae4b9a0 fix syntax error message handling
improve redblack trees and use it to reimplement association lists and
to have better implementation of several graph algorithms.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1591 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-10 19:24:52 +00:00
pmoura
75b2645e3f Logtalk 2.27.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1580 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-26 17:31:34 +00:00
vsc
b38d4fc941 fix fix on index expansion
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1570 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-21 19:20:35 +00:00
tiagosoares
cbc94bbaf7 MYDDAS: db_open/5 support to user specify the TCP/IP port and/or Unix Socket of the MySQL Server to connect to.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1566 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-17 10:41:44 +00:00
tiagosoares
6f409cb962 CUT_C and MYDDAS support for 64 bits architectures
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1564 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-09 15:52:06 +00:00