4c9f440b07simplify YAPOR.
Costa Vitor
2009-08-19 22:45:11 -05:00
33085fd8d1fix YAPOR not being threadtes as threads.
Costa Vitor
2009-08-19 22:44:48 -05:00
f877e78785make YAP compile with --enable-or-parallelism
Costa Vitor
2009-08-19 21:53:49 -05:00
80b97aafaamake flush_output easier to understand.
Costa Vitor
2009-08-19 20:24:13 -05:00
b4502969admake types compatible.
Costa Vitor
2009-08-19 20:23:52 -05:00
6453cf5ae7avoid unnecessary backtracking.
Costa Vitor
2009-08-19 20:23:20 -05:00
84646ee581make includes compatible with configure.in
Costa Vitor
2009-08-19 20:22:49 -05:00
418fa1a39664 bit machines may be using S while calling ExpandIndex.
Costa Vitor
2009-08-19 20:22:04 -05:00
40ea33c150Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Costa Vitor
2009-08-12 10:01:34 -05:00
dccf3cf8a2assert logupd should set the clause in use (obs by Jose Santos).
Costa Vitor
2009-08-12 10:00:38 -05:00
9dc0618a12make the support for compact lists the default configuration for the tabling engine
Ricardo Rocha
2009-08-12 14:32:12 +01:00
23d44f959dinclude cp_h field in deterministic choice points, otherwise we get in trouble
Ricardo Rocha
2009-08-09 03:38:07 +01:00
4f6676e5affix garbage collector for deterministic tabling (still very experimental)
Ricardo Rocha
2009-08-08 05:02:27 +01:00
4bdf8bf991if the current generator choice point is the topmost choice point and the current call is deterministic then the current answer is deterministic and we can perform an early completion and remove the current generator choice point
Ricardo Rocha
2009-08-08 03:53:51 +01:00
fc31e7066eimprove the support for deterministic tabling (still experimental, problems mainly with the garbage collector)
Ricardo Rocha
2009-08-07 17:29:53 +01:00
cc2c6dbe71make the parallel and sequential code to check/insert nodes in the trie more consistent
Ricardo Rocha
2009-08-07 06:27:34 +01:00
375f3b7bc6fix debugging procedures for tabling
Ricardo Rocha
2009-08-07 04:46:45 +01:00
981bee74f0fix garbage collector for dealing with float/longint trie instructions
Ricardo Rocha
2009-08-07 04:34:48 +01:00
7d50687c46stdio.h include missing
Ricardo Rocha
2009-08-07 00:16:21 +01:00
f68cc92bcemake sure binary files are open as binary in WIN32 (obs from Meera Sridhar).
U-Khasa\Vitor
2009-08-02 16:04:21 -05:00
2c53d1f8edfix error message in put
U-Khasa\Vitor
2009-08-02 15:54:27 -05:00
068242a833mention examples in README file.
Costa Vitor
2009-07-31 17:39:21 -05:00
77e947cdae- upgrade to latest simplecudd. - fix paths in learning.
Costa Vitor
2009-07-31 17:04:11 -05:00
98843bea46update to version 07312009 of ProbLog.
Costa Vitor
2009-07-31 12:18:03 -05:00
1fa608010afor some reason, tabling codes likes using cp_ap == NULL for SLD complete goals.
Vitor Santos Costa
2009-07-31 08:31:17 -05:00
5327c8bfe7gc of tabling cps: now, if current cp is in gen chain, mark it as completion, otherwise, mark it as trust_fail.
Vitor Santos Costa
2009-07-31 08:29:27 -05:00
daa05caf86Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Vitor Santos Costa
2009-07-28 21:38:26 -05:00
9c74080512fix memory overflow when doing very large writes on strings (obs from Jos Deroo).
Vitor Santos Costa
2009-07-28 18:30:15 -05:00
93c6e65b7etabling would set ap=NULL on producers and SLD nodes. Set SLD trusted nodes to TRUST_FAIL.
Costa Vitor
2009-07-24 15:08:07 -05:00
59e0f71a7dtrust_fail needs not to mark environments, but in contrast termination needs.
Costa Vitor
2009-07-24 15:07:39 -05:00
11fb9183e1make sure we track both producers and consumers (I am not sure we need to track producers, though) Always mark choicepoint, even if cp_ap==NULL (fixes wine).
Vitor Santos Costa
2009-07-23 23:13:16 -05:00
22ac3ee80bUse >< for xor (Paulo Mour, Iso meeting)
Vitor Santos Costa
2009-07-23 14:31:04 -05:00
a1e6a2baa7bad priority for +/1. (Paulo Moura, ISO)
Vitor Santos Costa
2009-07-23 14:27:04 -05:00
7155aa943fmake sure that variables in tabled predicates are safe for backtracking: new variables should be bound carefully.
Vitor Santos Costa
2009-07-22 23:28:04 -05:00
4882cefa12get rid of debugging code.
Costa Vitor
2009-07-22 17:02:56 -05:00
0e2d3e3a91fix bad argument processing in non-inlined arithmetic comparisons.
Costa Vitor
2009-07-22 17:02:02 -05:00
c8946e1e4esupport inline arithemtic builtins as non-inlined.
Costa Vitor
2009-07-22 17:01:30 -05:00
d9a48c4014disable inlining in tabled predicates (maybe a bit too harsh).
Costa Vitor
2009-07-22 17:00:49 -05:00
014209c22fundo bug fix, it just handled one case.
Costa Vitor
2009-07-22 14:31:15 -05:00
ead58f6b34in tabled mode, replace X is Y by X=X', is(Y') to avoid cases where Y is assigned determinastically but needs to be later restored. (obs Ricardo Rocha)
Costa Vitor
2009-07-22 14:23:32 -05:00
c1024caa53Unify emptylist of variables if one reads EOF.
Vitor Santos Costa
2009-07-21 00:11:44 -05:00
82b1a6f62amake it compile back in Unix.
Vitor Santos Costa
2009-07-20 23:13:36 -05:00
868c7158abimprove SWI emulation in WIN32
U-Khasa\Vitor
2009-07-20 20:56:54 -07:00
d3fa43d08eimprove SWI emulation in WIN32
U-Khasa\Vitor
2009-07-20 20:56:16 -07:00
d67332dc19Improve error handling when loading DLLs
U-Khasa\Vitor
2009-07-20 20:55:22 -07:00
869671fb1bmake sure to have trail entries reset on setjump (obs from Jose Santos).
Costa Vitor
2009-07-17 19:31:20 -05:00
66683aeef9slots were not inited in tabling code, due to bad ifdef (obs from Chris Mungall).
Costa Vitor
2009-07-17 18:39:50 -05:00
390408d5affix checking profiled choice-points (obs from Jose Santos).
Costa Vitor
2009-07-15 22:16:05 -05:00
a69a34f3a5fields/ library predicate, to return empty fields.
Costa Vitor
2009-07-15 17:30:27 -05:00
0b85333018fix int/UInt messup.
Costa Vitor
2009-07-15 17:29:26 -05:00
8a38c64441fix uninitialised variable (valgrind).
Costa Vitor
2009-07-15 14:27:56 -05:00
8569aacfe5check for very long wchar_t strings when scanning (obs from Jan Wielemaker).
Costa Vitor
2009-07-15 14:26:56 -05:00
a1775fb031Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Vitor Santos Costa
2009-07-13 21:58:29 -05:00
ad30c36626fix overflow testing in matrix_to_list
Vitor Santos Costa
2009-07-13 21:57:01 -05:00
11cefa668ahandle overflow error in YAP_MkPairTerm ( obs from Fabrizio Riguzzi).
Vitor Santos Costa
2009-07-13 21:55:57 -05:00
6e3830aa4bimprove error handling in arithmetic comparison (obs from Jose Santos)
Vitor Santos Costa
2009-07-08 10:32:14 -05:00
02e82d7719disable the support for trie compact lists in YapTab's default configuration.
Ricardo Rocha
2009-07-05 05:29:53 +01:00
5e4d7078absupport for trie compact lists (version 2): this new version uses different marks to distinguish the lists ending with the empty list from the lists ending with a non-empty list term.
Ricardo Rocha
2009-07-05 05:14:08 +01:00
6f2d5679c6Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Ricardo Rocha
2009-07-03 00:56:37 +01:00
c666f74532support for deterministic tabled calls and answers
Ricardo Rocha
2009-07-03 00:54:39 +01:00
df8f194d80fix setof cleanup vars (patch from Bart Demoen).
Costa Vitor
2009-07-02 14:46:07 -05:00
5d966928b9prolog_file_name/2 was missing
Costa Vitor
2009-07-01 12:11:33 -05:00
cd2902f0d8deleting old files for trie library
Ricardo Rocha
2009-07-01 16:35:21 +01:00
d9cdee931cMerge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
RIGUZZI FABRIZIO - Dipartimento di Ingegneria
2009-06-27 11:56:10 +02:00
1f4717d502added PICL program
RIGUZZI FABRIZIO - Dipartimento di Ingegneria
2009-06-27 11:54:33 +02:00
026a666055trail check on C entry: make sure we don't have unhandled trail overflows.
Costa Vitor
2009-06-26 14:08:15 -05:00
772d091a70fix bad call to retry_counter
Costa Vitor
2009-06-26 13:16:42 -05:00
69c0a52548Revert "ENV may not be in scope of catch in very special cases (eg, call counter)."
Costa Vitor
2009-06-26 13:04:07 -05:00
15f9a68a35ENV may not be in scope of catch in very special cases (eg, call counter).
Vitor Santos Costa
2009-06-26 09:15:19 -05:00
ff20a23e64stop counters at counter underflow event
Vitor Santos Costa
2009-06-26 08:42:40 -05:00
4d6cd779cbfix warnings.
Vitor Santos Costa
2009-06-25 22:31:02 -05:00