Commit Graph

1357 Commits

Author SHA1 Message Date
Tiago Gomes
9a8464d0f0 some renamings 2012-06-19 14:32:12 +01:00
Tiago Gomes
942bc8041e update burglary-alarm 2012-06-18 23:10:18 +01:00
Tiago Gomes
63739c6e31 minor updates 2012-06-18 23:08:37 +01:00
Tiago Gomes
b16b0b6a3f add a README file 2012-06-18 21:38:40 +01:00
Tiago Gomes
b4d2e7af20 remove unecessary call 2012-06-18 14:40:44 +01:00
Tiago Gomes
05b3daf5bb trivial fix 2012-06-14 12:19:51 +01:00
Tiago Gomes
384c108e62 fix joint calculation with lifted bp 2012-06-14 11:57:00 +01:00
Tiago Gomes
0e83a75b60 improve calculation of joint dist in counting bp 2012-06-13 12:47:41 +01:00
Tiago Gomes
b43e3316b3 forgot destructor 2012-06-13 12:17:49 +01:00
Tiago Gomes
89725dffbb rename some enums 2012-06-12 21:27:17 +01:00
Tiago Gomes
af11dbb445 reorder entries in the Makefile and drop some objects not required to build hcli 2012-06-12 16:55:32 +01:00
Tiago Gomes
d4f63b3942 drop Solver suffix and rename some files and classes 2012-06-12 16:29:57 +01:00
Vitor Santos Costa
f6de18cb09 6.2 fix to load_foreign atom. 2012-06-11 22:11:30 +01:00
Tiago Gomes
919116763f add a run all tests script 2012-06-08 14:11:54 +01:00
Tiago Gomes
4cc869a164 update scripts 2012-06-08 14:11:11 +01:00
Tiago Gomes
f8e714dcc3 add social domain benchmark with evidence 2012-06-08 14:08:14 +01:00
Tiago Gomes
51c279d24c increase the cost of the grounding operator 2012-06-08 13:35:00 +01:00
Vitor Santos Costa
31b8cb6440 windows support. 2012-06-08 06:54:03 -05:00
Tiago Gomes
5785260644 fix warning 2012-06-06 15:04:28 +01:00
Tiago Gomes
568bb27a66 forgot this 2012-06-05 15:33:24 +01:00
Tiago Gomes
2cf6a2a33d add benchmark tests for lbp 2012-06-05 15:23:41 +01:00
Vitor Santos Costa
3669cb894f Merge branch 'master' of https://github.com/tacgomes/yap6.3
Conflicts:
	packages/CLPBN/clpbn/horus.yap
2012-06-04 16:29:56 +01:00
Tiago Gomes
eec4b1452b print all lifted bp flags 2012-06-01 19:31:07 +01:00
Tiago Gomes
8fa8fff9f1 minor improvements 2012-06-01 19:29:57 +01:00
Tiago Gomes
25ccfa2f54 only allow joint dists on cliques 2012-06-01 19:29:23 +01:00
Tiago Gomes
4708685ed4 fix bug in Factor::contains 2012-06-01 14:03:39 +01:00
Vitor Santos Costa
71a62307f4 CLP(BN) stuff. 2012-06-01 13:17:39 +01:00
Tiago Gomes
ecde9649a8 fix header guard 2012-06-01 12:35:44 +01:00
Tiago Gomes
b5369db214 use only solveQuery 2012-05-31 23:06:53 +01:00
Tiago Gomes
f91e543d9d workaround c++ bad design: don't allow creating a factor graph from some pointer 2012-05-31 22:42:38 +01:00
Tiago Gomes
3f0f41c8a9 cleanup 2012-05-31 21:24:40 +01:00
Tiago Gomes
e11ed1a226 forgot these two 2012-05-31 21:24:15 +01:00
Tiago Gomes
22d8876d33 add support to (real) lifted belief propagation 2012-05-31 21:12:46 +01:00
Tiago Gomes
22780c4559 handle empty vectors in TinySet 2012-05-31 14:57:53 +01:00
Tiago Gomes
7429a39b48 fix a bug on absorving lifted evidence 2012-05-31 14:09:50 +01:00
Tiago Gomes
c2297c3f70 add lbp flag 2012-05-31 12:45:09 +01:00
Tiago Gomes
d00eb05624 use bind2nd instead of bind1st 2012-05-31 12:19:13 +01:00
Tiago Gomes
6668ee6381 add initial skeleton for lifted bp 2012-05-30 19:23:41 +01:00
Tiago Gomes
8d14593c3e add an enum for lifted solvers and do some renamings 2012-05-30 17:17:39 +01:00
Tiago Gomes
ac38e9e6a6 minor improvement 2012-05-29 17:19:49 +01:00
Tiago Gomes
651051484b update TODO 2012-05-29 17:14:29 +01:00
Tiago Gomes
02395daed3 add a sequential elimination heuristic 2012-05-29 17:14:01 +01:00
Tiago Gomes
0315cd51a3 remove repeated elements in TinySet 2012-05-29 17:09:45 +01:00
Tiago Gomes
6feb746412 use STL to calculate L1 distance and max norm 2012-05-29 13:48:08 +01:00
Tiago Gomes
3ac854b2ff use more Util::sizeExpected 2012-05-28 21:27:52 +01:00
Tiago Gomes
54ae29ae02 replace Util::add and Util::multiply by Util::apply_n_times 2012-05-28 21:09:56 +01:00
Tiago Gomes
f489a59194 use std::accumulate to calc the msg size 2012-05-28 20:59:39 +01:00
Tiago Gomes
57e32267fe remove unecessary code 2012-05-28 19:47:20 +01:00
Tiago Gomes
62283f353c some renamings 2012-05-28 19:41:24 +01:00
Tiago Gomes
64b53e8180 minor improvements 2012-05-28 19:10:29 +01:00
Tiago Gomes
004e6c0c5f minor improvements 2012-05-28 18:26:15 +01:00
Tiago Gomes
0cee50496e fix compilation in older gcc 2012-05-28 17:57:45 +01:00
Tiago Gomes
d5c2e6833d use convenient function 2012-05-28 17:43:48 +01:00
Tiago Gomes
0ad8f5fb4a remove whitespace 2012-05-28 17:01:07 +01:00
Tiago Gomes
149f3dab26 fix a bug in exporting to uai format 2012-05-28 17:00:46 +01:00
Tiago Gomes
3ee176c65b fix header guard 2012-05-28 16:59:41 +01:00
Tiago Gomes
f3ca7b2dfc add elementsToString and move things around a bit 2012-05-28 16:57:45 +01:00
Tiago Gomes
1352a526c3 refactor the way we export to libDAI 2012-05-28 14:42:20 +01:00
Tiago Gomes
250d122fc8 prefix is better than postfix 2012-05-28 14:12:18 +01:00
Tiago Gomes
a9c369aac1 size_t invasion, part II 2012-05-28 14:01:05 +01:00
Tiago Gomes
4a02997484 be consistent: s/copy/backup 2012-05-28 12:34:39 +01:00
Tiago Gomes
3986012e56 rename CutIndexer to MapIndexer 2012-05-28 12:32:15 +01:00
Tiago Gomes
3290834dfe be consistent with other functions 2012-05-28 12:24:10 +01:00
Tiago Gomes
fb9bb5c8b5 remove unused method 2012-05-28 12:18:39 +01:00
Tiago Gomes
6034f7a264 refactor the function to reorder arguments 2012-05-28 12:17:47 +01:00
Tiago Gomes
1239832c21 refactor the way we calculate the product of two factors 2012-05-26 20:58:56 +01:00
Tiago Gomes
bc2da47804 add a new handy constructor to CutIndexer class 2012-05-26 20:56:41 +01:00
Tiago Gomes
918666d7f6 add a randomize function 2012-05-26 20:44:39 +01:00
Tiago Gomes
c1bd230e61 small improvement 2012-05-25 21:26:40 +01:00
Tiago Gomes
4b2ffee015 minor renaming 2012-05-25 21:22:48 +01:00
Tiago Gomes
2efca0c85a refactor indexer classes and receive te ranges as a constant reference 2012-05-25 21:16:08 +01:00
Tiago Gomes
5ff161b10f refactor functions for summing out 2012-05-25 20:15:05 +01:00
Tiago Gomes
df8a3c5fdc fix a recent bug in StatesIndexer.h 2012-05-25 14:36:52 +01:00
Tiago Gomes
a56bccf5e5 delete unused method 2012-05-24 23:39:38 +01:00
Tiago Gomes
18d4777d9a use PrvGroup 2012-05-24 23:38:44 +01:00
Tiago Gomes
af6601837c size_t invasion 2012-05-24 22:55:20 +01:00
Tiago Gomes
5124098b6c delete unused code 2012-05-24 16:21:41 +01:00
Tiago Gomes
acc5ab056a some refactorings 2012-05-24 16:14:13 +01:00
Tiago Gomes
444eaacc63 add operators to manipulate vectors of parameters 2012-05-24 14:55:30 +01:00
Tiago Gomes
6cb718942a some renamings 2012-05-23 21:23:03 +01:00
Tiago Gomes
d91e91b97e prefix calls to c++ functions with cpp_ 2012-05-23 20:34:57 +01:00
Tiago Gomes
2b896aecb4 add examples to the Makefile 2012-05-23 19:59:40 +01:00
Tiago Gomes
9f236dccdd rename bp.yap and fove.yap 2012-05-23 19:15:23 +01:00
Tiago Gomes
cf929b6f13 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-05-23 17:59:26 +01:00
Tiago Gomes
c04082dc2e move benchmarks one level up 2012-05-23 17:27:21 +01:00
Tiago Gomes
3890aafc1a update examples 2012-05-23 17:17:50 +01:00
Tiago Gomes
bdef49bb20 remove city old example 2012-05-23 15:57:00 +01:00
Tiago Gomes
efec94adff remove two unnecessary files 2012-05-23 15:55:39 +01:00
Tiago Gomes
584e363aa1 move graphical model examples 2012-05-23 15:48:03 +01:00
Tiago Gomes
5b38891c21 third try ... 2012-05-23 14:58:26 +01:00
Tiago Gomes
6c77afb3ae ok, second try 2012-05-23 14:56:01 +01:00
Tiago Gomes
a4d181eb97 update benchmarks 2012-05-23 12:40:34 +01:00
Tiago Gomes
7c3e4ed3ab improve log information 2012-05-23 12:26:14 +01:00
Vitor Santos Costa
9e3d16022a fix YAP_AttOfVar
beautify get atts
2012-05-21 17:24:40 +01:00
Tiago Gomes
16cb48fea4 decrease the time required to find an elimination order 2012-05-17 17:29:31 +01:00
Vítor Santos Costa
d68ef3f5a1 fix empty tries. 2012-05-17 09:56:49 +01:00
Tiago Gomes
cf9a7f1413 show the maximum memory used in the benchmarks 2012-05-16 12:31:58 +01:00
Tiago Gomes
5934d9efe9 update TODO 2012-05-16 00:44:59 +01:00
Tiago Gomes
23b180b6f0 merge TinySet and SortedVector classes 2012-05-16 00:41:01 +01:00
Tiago Gomes
354071c261 update scripts 2012-05-15 20:14:13 +01:00
Tiago Gomes
f7ba86d3ed kill Util::abort, s/vectorIndex/indexOf and s/isCarteesianProduct/isCartesianProduct 2012-05-15 19:41:14 +01:00
Tiago Gomes
db0d2c9772 refactor and increase the scope of parfactor multiplication 2012-05-15 19:05:39 +01:00
Tiago Gomes
f4bca3ceea factor overflow will not happen with bp 2012-05-15 19:02:40 +01:00
Tiago Gomes
7ec4887e77 refactor printing of a parfactor 2012-05-15 16:57:50 +01:00
Tiago Gomes
346b70145f improvements on shattering 2012-05-15 16:52:21 +01:00
Tiago Gomes
90e139f8f3 refactor ProbFormula comparation operator 2012-05-15 16:49:34 +01:00
Tiago Gomes
03f9df7dc3 fix a bug when checking of a set of log vars form a cartesian product 2012-05-15 16:46:21 +01:00
Tiago Gomes
1380adcfb5 support getting tuples of repeated log vars 2012-05-15 16:45:24 +01:00
Tiago Gomes
2061eefda2 add a way to copy a log var 2012-05-15 16:43:32 +01:00
Vitor Santos Costa
6c36a8ccd3 make it easier for outside packages to link with YAP innards. 2012-05-14 15:06:18 +01:00
Tiago Gomes
4ade4945a0 improve Util::abort 2012-05-07 17:52:47 +01:00
Tiago Gomes
aeb07d43a7 add two more utility functions 2012-05-07 17:48:15 +01:00
Tiago Gomes
9d5801ef7f ony summout a group of rand vars if they not appear in another position on the parfactor 2012-05-05 23:11:32 +01:00
Tiago Gomes
8e75ef3073 shatter parfactors also against themselves 2012-05-05 21:06:27 +01:00
Tiago Gomes
660e15e2ac update the overflow check in factors, still needs more work tbd 2012-05-04 14:28:07 +01:00
Tiago Gomes
0e01a51929 remove commented code and fix a warning 2012-05-04 14:10:00 +01:00
Tiago Gomes
35d0804f9a update TODO 2012-05-03 13:15:33 +01:00
Tiago Gomes
10ac7720f7 update smokers examples 2012-05-03 11:38:49 +01:00
Tiago Gomes
2bef3f6866 minor updates 2012-05-03 00:56:19 +01:00
Vítor Santos Costa
9b0b6ec649 fix stop_low_level_trace.
P Moura request for (?).
2012-05-02 10:09:26 +01:00
Tiago Gomes
92d8c7dcbe add more asserts 2012-04-30 17:49:07 +01:00
Tiago Gomes
ad50166bd0 fix bug in benchmarks script 2012-04-30 16:26:33 +01:00
Tiago Gomes
9971736a45 kill DEBUG constant, its not used any more 2012-04-30 14:50:14 +01:00
Tiago Gomes
7cf8c68e15 fix error message 2012-04-30 14:12:00 +01:00
Tiago Gomes
d6e11ca84d delete order vars flag 2012-04-30 13:02:53 +01:00
Tiago Gomes
fa8ff6d5b6 abort if the factor will become to bigger 2012-04-30 12:48:30 +01:00
Tiago Gomes
85fc4ae50a add missing files 2012-04-30 11:59:59 +01:00
Tiago Gomes
a90bfb7a86 update benchmarks 2012-04-30 11:24:04 +01:00
Tiago Gomes
2fa06da3c9 disable bayes ball for now 2012-04-30 11:20:02 +01:00
Tiago Gomes
185cbe9c73 update examples 2012-04-30 11:16:11 +01:00
Tiago Gomes
56475cacbc revamp debugging plataform 2012-04-29 20:07:09 +01:00
Tiago Gomes
d86e2c8386 don't raise counting log vars before multiplication 2012-04-28 01:10:04 +01:00
Tiago Gomes
1173b4c25b when expanding a counting formula, check if the expanded log vars are still counting log vars 2012-04-28 01:01:23 +01:00
Tiago Gomes
52f4aa0340 sort the parfactors by their parameters when printing 2012-04-27 19:10:22 +01:00
Vítor Santos Costa
067d6d3f4f fix problog experiment. 2012-04-27 16:30:02 +01:00
Vítor Santos Costa
5ee39c6f08 back to original version. 2012-04-27 16:20:40 +01:00
Vítor Santos Costa
6bb4db125d fix names. 2012-04-27 15:33:32 +01:00
Vítor Santos Costa
60184e230d new lbdd stuff. 2012-04-27 15:32:57 +01:00
Vítor Santos Costa
ceb0c1f5ac new support file. 2012-04-27 15:32:17 +01:00
Vítor Santos Costa
823066f9da use library for learning. 2012-04-27 15:30:39 +01:00
Vítor Santos Costa
fd4bf21ece fix file names. 2012-04-27 15:26:44 +01:00
Tiago Gomes
20fc2c8dd1 add debug information to variable elimination 2012-04-27 14:48:48 +01:00
Tiago Gomes
9e1a649262 raising the paramaters to some power should happen after summing out, not before 2012-04-27 14:47:30 +01:00
Tiago Gomes
7599ccd5a1 don't print the paramaters if they are more than 32 2012-04-27 01:19:28 +01:00
Tiago Gomes
af063dcda8 be more precise when calculating the cost of grounding a log var in a formula 2012-04-27 01:18:54 +01:00
Tiago Gomes
995a11be83 improvements in the way we align logical variables 2012-04-26 18:00:06 +01:00
Vítor Santos Costa
fd755f0b7e allow ProbLog to use lbdd. 2012-04-26 13:52:09 +01:00
Tiago Gomes
cc09e77707 remove unnecessary variable 2012-04-26 00:58:06 +01:00
Tiago Gomes
689244a0d8 improve cbp by supporting factors connected to a single var two or more times 2012-04-26 00:54:06 +01:00
Tiago Gomes
ad24a360ce Add a way to summout a dimension given a index instead of a variable id.
This is required for counting belief propagation.
2012-04-25 22:59:01 +01:00
Tiago Gomes
fc362fe123 reorder the parameters instead of reordering variables 2012-04-23 22:57:04 +01:00
Tiago Gomes
0ebd6d6e06 improve constructor of VarNode 2012-04-23 22:40:36 +01:00
Tiago Gomes
3397f694fe sort the variable ids when printing all posterioris 2012-04-23 22:12:04 +01:00
Vitor Santos Costa
f24bf2e2cd full school 2012-04-23 07:13:58 -05:00
Vitor Santos Costa
32a905bc8b ddnnf support 2012-04-23 07:13:25 -05:00
Vitor Santos Costa
040c1c7fa7 more ddnnf stuff 2012-04-23 07:13:01 -05:00
Tiago Gomes
d90fcd532b minor update 2012-04-21 17:21:54 +01:00
Tiago Gomes
8c689665a0 support setting flags in horus cli and fix a bug when ordering the variables 2012-04-21 17:14:19 +01:00
Vitor Santos Costa
22f702f8e4 ddnnfs. 2012-04-20 16:43:30 -05:00
Vitor Santos Costa
220f7e6efc support mtbdds. 2012-04-20 16:42:59 -05:00
Tiago Gomes
085ebe1e96 check for overflows when performing expansion
case the factor size after expansion be bigger than an unsigned integer, abort the program
2012-04-20 17:16:10 +01:00
Tiago Gomes
0ffa409a80 fix a bug when expanding potential 2012-04-20 14:50:14 +01:00
Vitor Santos Costa
178ad27db8 better understanding of ddnnf. 2012-04-20 07:07:19 -05:00
Tiago Gomes
09697b8461 heuristic to improve results with fove 2012-04-19 18:37:15 +01:00
Tiago Gomes
2b7da4bc23 refactor the way we calculate the grounding cost 2012-04-19 17:59:45 +01:00
Tiago Gomes
661ce08961 check if the factor is not zero when choosing the elimination order 2012-04-19 12:08:27 +01:00
Tiago Gomes
cd1e157019 sort the colors in the signature receveied from a factor (add std namespace) 2012-04-18 19:29:43 +01:00
Tiago Gomes
7c100c96bc sort the colors in the signature receveied from a factor 2012-04-18 19:29:11 +01:00
Tiago Gomes
862e90a36b fix bug in joining constraint trees 2012-04-18 18:14:15 +01:00
Tiago Gomes
61ee95d92a use logarithms to calculate the cost of each fove operator 2012-04-18 16:40:12 +01:00
Tiago Gomes
406276b62b add missing scripts 2012-04-18 13:53:34 +01:00
Tiago Gomes
a7f57bea99 several optimizations on ConstraintTree 2012-04-18 03:05:01 +01:00
Tiago Gomes
cd720497f8 update groups when shattering 2012-04-18 03:04:06 +01:00
Tiago Gomes
bb5d02dbc0 minor updates 2012-04-18 03:03:29 +01:00
Tiago Gomes
dacf6b4e57 update examples 2012-04-18 02:57:24 +01:00
Tiago Gomes
d22b5a97fd add missing scripts 2012-04-18 02:52:31 +01:00
Tiago Gomes
b7e9245f26 refactor and add more benchmarks scripts 2012-04-18 02:49:33 +01:00
Tiago Gomes
d8e757f9ab improvements in the way factorials are computed 2012-04-18 02:46:38 +01:00
Tiago Gomes
cd8714460e add a way of calculate factorials of large numbers 2012-04-17 20:24:40 +01:00
Tiago Gomes
f02d0fb798 add more api to sorted vector implementation 2012-04-17 19:02:56 +01:00
Vítor Santos Costa
40ce9feb76 bdd experiments 2012-04-16 23:47:36 +01:00
Tiago Gomes
5e88510a7d use convenience function 2012-04-16 21:48:13 +01:00
Tiago Gomes
6ab5a4668b change align of some functions 2012-04-16 21:47:06 +01:00
Tiago Gomes
dd0ae564ef adapt to changes in CFactorGraph 2012-04-16 21:45:52 +01:00
Tiago Gomes
779f4ea2ce fix debuging information and s/ds/range 2012-04-16 21:44:04 +01:00
Tiago Gomes
66353e67ec some refactorings 2012-04-16 21:42:14 +01:00
Tiago Gomes
0d5888e238 assign evidence to the pruned factor graph 2012-04-16 21:40:28 +01:00
Tiago Gomes
b27500e93f add nrVarNodes and nrFacNodes 2012-04-16 19:29:55 +01:00
Tiago Gomes
6f7d2af718 add another sorted vector implementation 2012-04-15 21:51:12 +01:00
Tiago Gomes
c32ad3de0a use a sorted vector to store the node childs 2012-04-15 21:44:27 +01:00
Tiago Gomes
5e7b660f44 use iterators instead off indices 2012-04-15 03:19:15 +01:00
Vítor Santos Costa
c385dc13a8 fix syntax 2012-04-15 00:02:37 +01:00
Tiago Gomes
62fedf014b workaround garbage collector error 2012-04-14 18:00:12 +01:00
Tiago Gomes
f1d2889eaa fix warning about uninitialized var 2012-04-14 17:59:04 +01:00
Tiago Gomes
401ad145a5 improve the way the factor graph is constructed from a set from factors 2012-04-14 17:57:24 +01:00
Tiago Gomes
f6e3bb4481 don't assert when suming numbers with negative infinity 2012-04-13 23:12:12 +01:00
Tiago Gomes
24a5fe9c23 add typedef 2012-04-13 15:56:37 +01:00
Tiago Gomes
05ef8610f4 fix warning 2012-04-13 15:47:41 +01:00
Tiago Gomes
00faccd940 implement a printSolverParameters in ground solvers 2012-04-13 15:22:24 +01:00
Tiago Gomes
f3be68a552 add a way to print bool vars 2012-04-13 15:21:11 +01:00
Tiago Gomes
15c8f3abc6 ops 2012-04-12 18:46:21 +01:00
Tiago Gomes
5348c4a989 comment debug information in some prolog files 2012-04-12 18:35:29 +01:00
Vítor Santos Costa
5a8cc421d2 small pfl fixes. 2012-04-12 18:11:29 +01:00
Vítor Santos Costa
c5f42cd7eb more pfl changes. 2012-04-12 17:24:39 +01:00
Vítor Santos Costa
8c2dd1f847 fix bad call for parameters. 2012-04-12 17:17:21 +01:00
Vítor Santos Costa
28ce2da3dc Merge branch 'master' of https://github.com/tacgomes/yap6.3 2012-04-12 17:07:19 +01:00
Tiago Gomes
9def6c2b15 tempary hack to fix cbp and clean in benchs.sh 2012-04-12 00:42:55 +01:00
Tiago Gomes
564958ef8d improvements on benchmarkings 2012-04-11 23:48:59 +01:00
Tiago Gomes
03013960d3 refactor the city benchmarks and introduce set_solver/1 2012-04-11 19:15:52 +01:00
Tiago Gomes
f2fbbf29d8 rework the examples and erase the city network in the old format 2012-04-11 15:36:50 +01:00
Tiago Gomes
8697fcd2b4 refactorings 2012-04-10 20:43:08 +01:00
Tiago Gomes
78e86a6330 refactor ground solver interface 2012-04-10 15:00:18 +01:00
Tiago Gomes
46e6a10625 convert city dataset to new format 2012-04-10 12:56:14 +01:00
Tiago Gomes
b52dc99914 refactorings 2012-04-10 12:53:52 +01:00
Tiago Gomes
aa1b2e40ea some renamings 2012-04-10 11:51:56 +01:00
Tiago Gomes
6986e8c0d7 Improvements
Factor nodes now contain a factor object instead of a pointer. Refactor the way .fg and .uai formats are readed.
2012-04-09 15:40:51 +01:00
Tiago Gomes
f1d52c0389 add missing files 2012-04-05 23:04:27 +01:00
Tiago Gomes
d1b25f0864 renamings and delete bn_bp stuff 2012-04-05 23:00:48 +01:00
Tiago Gomes
b28ee8fb3a drop bayesian network representation 2012-04-05 20:08:54 +01:00
Tiago Gomes
abb0410d07 drop suport for Pearl belief propagation 2012-04-05 19:34:37 +01:00
Tiago Gomes
0d23591058 Add support to markov networks 2012-04-05 18:38:56 +01:00
Vítor Santos Costa
bc2364c5dc small fixes 2012-04-04 08:29:20 +01:00
Tiago Gomes
6c3add2ebd first steps in adapting horus ground solvers to pfl 2012-04-03 19:53:27 +01:00
Vítor Santos Costa
2bdec8f725 more PFL fixes. 2012-04-03 17:12:58 +01:00
Vítor Santos Costa
14d142aa10 new example. 2012-04-03 16:23:26 +01:00
Vítor Santos Costa
65e0c3b2a2 more PFL changes. 2012-04-03 16:22:40 +01:00
Vítor Santos Costa
6ccd458ea5 Merge branch 'master' of https://github.com/tacgomes/yap6.3
Conflicts:
	packages/CLPBN/clpbn/bp.yap
	packages/CLPBN/clpbn/fove.yap
	packages/CLPBN/clpbn/horus.yap
2012-04-03 15:07:22 +01:00
Vítor Santos Costa
44cb6abcb6 PFL support. 2012-04-03 15:01:35 +01:00
Vítor Santos Costa
e130c26c6d improve bdd support. 2012-04-03 15:01:14 +01:00
Vítor Santos Costa
3d216cf9db iextend bdd support. 2012-04-03 15:00:22 +01:00
Tiago Gomes
911b241ad6 fix align of logical variables 2012-04-03 11:58:21 +01:00
Tiago Gomes
fd8980642b another test 2012-04-01 00:23:03 +01:00
tgomes
c6128c51e8 this is a test 2012-03-31 23:59:05 +01:00
Tiago Gomes
e9cc1a8be2 remove unnecessary files 2012-03-31 23:44:08 +01:00
Tiago Gomes
313f9a036a yay, my first commit 2012-03-31 23:27:37 +01:00
Vítor Santos Costa
3563dcbf03 control for very large bdds. 2012-03-30 09:50:18 +01:00
tgomes
24b466db4e new version. 2012-03-29 12:24:29 +01:00
Vítor Santos Costa
0a9076bf4a bdd 2012-03-28 10:59:26 +01:00
Vítor Santos Costa
9ff1399482 new versions of packages. 2012-03-27 14:59:22 +01:00
Vítor Santos Costa
295cf24f5c extend functionality. 2012-03-27 14:57:43 +01:00
Vítor Santos Costa
cd45c64dcc allow optimisation and preserve ordering. 2012-03-27 14:57:12 +01:00
Vítor Santos Costa
52e5fdb6aa fix typo and export extra 2012-03-25 21:42:49 +01:00
Vítor Santos Costa
7d6b2435e0 fix typo and export extra 2012-03-25 21:42:39 +01:00
Vítor Santos Costa
a38177207d use safer method 2012-03-25 21:41:03 +01:00
Vítor Santos Costa
b6d5b79789 force parent unification when binding two variables with same key 2012-03-25 21:40:29 +01:00
Vítor Santos Costa
7d6461a527 fix order. 2012-03-23 22:26:31 +00:00
Vítor Santos Costa
07335ce047 clp(bn) support 2012-03-22 23:24:09 +00:00
Vítor Santos Costa
6b1574757e fix dist usage. 2012-03-22 22:32:50 +00:00
Vítor Santos Costa
f5f13541c6 old new syntax 2012-03-22 22:23:20 +00:00
Vítor Santos Costa
4c1602b74b old syntax example. 2012-03-22 22:22:16 +00:00
Vítor Santos Costa
6ad2c9b3a9 experimental BDD interface package. 2012-03-22 21:36:44 +00:00
Vítor Santos Costa
a338b95d3f add more support for FOVE. 2012-03-22 19:10:15 +00:00
Vítor Santos Costa
7d4f83ca40 improve examples. 2012-03-22 19:09:31 +00:00
Vítor Santos Costa
172f59cee5 ifix interface to clp(bn) machinery. 2012-03-22 19:08:36 +00:00
Vitor Santos Costa
c85e76f20f new fove version. 2012-03-22 11:40:24 +00:00
Vitor Santos Costa
6191dd210b new version 2012-03-22 11:35:54 +00:00
Vitor Santos Costa
21d317b223 new version of bp 2012-03-22 11:33:24 +00:00
Vitor Santos Costa
6e36498cac new version. 2012-03-22 11:29:46 +00:00
Vítor Santos Costa
8ba0bee7ab updates to packages. 2012-02-17 11:31:55 +00:00
Vítor Santos Costa
48cbed8b20 update to latest release. 2012-02-14 18:58:12 +00:00
Vítor Santos Costa
8c556f21ba include XMLPL package. 2012-02-14 12:41:12 +00:00
Vitor Santos Costa
247aa54046 back to using YAP writer. 2012-02-13 23:07:31 +00:00
Vítor Santos Costa
fc4edc3ad1 update version. 2012-02-13 19:30:00 +00:00
Vítor Santos Costa
70b41fbdb7 iupdate packages. 2012-02-13 11:26:23 +00:00
Vítor Santos Costa
dd762fe664 new versions. 2012-02-13 10:35:05 +00:00
Vítor Santos Costa
32d953809e update packages. 2012-02-13 09:43:50 +00:00
Vítor Santos Costa
64319f622f better SWI support. 2012-02-13 09:41:22 +00:00
Vítor Santos Costa
ea18699602 JPL support patches. 2012-02-12 12:28:37 +00:00
Vítor Santos Costa
73b1a8d6f8 change R configuration. 2012-02-06 11:01:10 +00:00
Vítor Santos Costa
e6fb330f58 fix warnings. 2012-02-03 20:55:35 +00:00
Vítor Santos Costa
ab33cacf7b LAM MPI interface support. 2012-02-02 23:25:31 +00:00
Vítor Santos Costa
4e6cc28cd3 lam support. 2012-02-02 09:58:05 +00:00
Vítor Santos Costa
dddf5bce80 update 2012-02-01 21:01:24 +00:00
Vítor Santos Costa
c4ee7ee0c3 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	.gitmodules
	configure
	packages/real
2012-02-01 20:57:42 +00:00
Vítor Santos Costa
4c6164034e real stuff. 2012-02-01 20:50:57 +00:00
Vítor Santos Costa
7a99e4f974 fix openmpi/lam detection under Linux/UBUNTU
fix -I in R interface.
2012-02-01 10:26:04 +00:00
Vítor Santos Costa
d106c08f8c :make sure we get rid of YapR 2012-02-01 08:58:20 +00:00
Vítor Santos Costa
7fc23ea139 update latest r..eal 2012-02-01 08:49:06 +00:00
Vítor Santos Costa
c6a8f68e67 update to recent real. 2012-01-31 15:15:07 +00:00
Vítor Santos Costa
e4bfd98830 use real package shared with swi. 2012-01-31 15:11:39 +00:00
Vítor Santos Costa
ed0d3f6cae Latest ProbLog 2012-01-11 14:44:59 +00:00
Vítor Santos Costa
2e2e2deb91 new version 2012-01-10 18:50:24 +00:00
Vítor Santos Costa
a25c97c295 fove initial skeleton.w 2012-01-10 17:01:06 +00:00
Vitor Santos Costa
3f97a3f24a new version 2012-01-09 23:31:30 +00:00
Vítor Santos Costa
bf12f320fe fix CPT handling in aggregates. 2011-12-27 22:08:21 +00:00
Vítor Santos Costa
8f3eabef1d support parfactors, first step. 2011-12-27 22:07:42 +00:00
Vítor Santos Costa
d01eec1dbe iupdate changes. 2011-12-22 11:43:30 +00:00
Vítor Santos Costa
7df0fd90f5 Changes by Tiago 2011-12-12 15:30:24 +00:00
Vítor Santos Costa
33bf0bc0f5 new release from Tiago 2011-12-12 15:29:51 +00:00
Vítor Santos Costa
03391e3feb New Version From Tiago 2011-12-10 23:12:10 +00:00
Vítor Santos Costa
dbcb6e530c New Version From Tiago 2011-12-10 22:58:43 +00:00
Vítor Santos Costa
1a4e31e7a0 fix MKINDEX call 2011-12-02 23:09:04 +00:00
Vítor Santos Costa
79d1bf5eec Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	OPTYap/opt.config.h
	OPTYap/opt.structs.h
2011-11-30 13:24:12 +00:00
Vítor Santos Costa
fec7019a79 fix some warnings
improve thread support.
2011-11-30 13:05:21 +00:00
Vítor Santos Costa
2f6ec5ff59 improve learning for CLP(BN). 2011-11-30 13:04:13 +00:00
Vítor Santos Costa
6c1cf7ea39 update to OSX support. 2011-11-18 22:24:46 +00:00
Vítor Santos Costa
e33712403f fix prism compilation and PRISM overflow handling. 2011-11-18 18:33:22 +00:00
Vítor Santos Costa
ae29efec0c iupdate version. 2011-11-18 16:26:41 +00:00
Vítor Santos Costa
0334632e6e improvements to YapR. 2011-11-17 12:58:22 +00:00
Vitor Santos Costa
fedf37ee35 update yapr 2011-11-15 12:59:00 +00:00
Vítor Santos Costa
946887d3b8 update ! 2011-11-15 12:46:03 +00:00
Vítor Santos Costa
df949efdb3 fix god knows what. 2011-11-15 12:40:55 +00:00
U-WIN7\Vitor
a2917e4e9e support R in WIN32. 2011-11-15 04:37:21 -08:00
Vítor Santos Costa
79bcde0869 fix variable that belongs to Makefile.in 2011-11-15 11:18:16 +00:00
Vítor Santos Costa
b7d9e63c17 ifix clib Makefile.in 2011-11-15 11:17:00 +00:00
Vitor Santos Costa
71bedb75f2 fix configuration script to better recognsie R. 2011-11-15 10:22:03 +00:00
Vítor Santos Costa
e865248dce prism logical probabilistic system. 2011-11-10 12:24:47 +00:00
Vítor Santos Costa
3dbae0cb94 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-11-04 02:48:28 +00:00
Vítor Santos Costa
0141113583 fix bug. 2011-11-03 07:53:21 +09:00
fabrizio
016cd42226 no copy of learning algorithms subdirectories 2011-10-31 14:26:18 +01:00
Fabrizio Riguzzi
be449b3aef updated cplint 2011-10-22 16:33:04 +02:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
d173af8d2d fix 2011-10-21 19:14:04 +01:00
Vitor Santos Costa
e56e1cbacb small fixes 2011-09-24 21:39:37 +01:00
Vitor Santos Costa
b2dcc47f9c fix evidence problems. 2011-09-24 21:38:59 +01:00
Vitor Santos Costa
dd9aa08eec fix aleph-params install 2011-09-24 21:37:50 +01:00
Vitor Santos Costa
ff84eaf782 delete_file changed in 6.3. 2011-09-20 14:50:24 +01:00
Vítor Santos Costa
5baf42320b recompute tables when commit. 2011-09-20 09:55:09 +01:00
Vítor Santos Costa
bfc1def1d5 imake sure mutable is available. 2011-09-20 09:54:30 +01:00
Vítor Santos Costa
4855c3460a improve memory usage when storing piointers to evidence facts. 2011-09-15 15:49:57 +01:00
Vítor Santos Costa
cdd33b8c1a new CPLint and ProbLog versions. 2011-09-15 15:49:06 +01:00
Vitor Santos Costa
04f0a4bb73 fix Makefile.in for minisat. 2011-09-06 21:18:30 +02:00
Vitor Santos Costa
01c80d77e0 update latest releaase of ProbLog 2011-09-05 03:07:15 +02:00
Vitor Santos Costa
86c1842cff upgrade to packages and to package docs. 2011-09-05 02:28:34 +02:00
Vitor Santos Costa
fda246f6fc upgradae packages. 2011-09-05 01:11:49 +02:00
Vitor Santos Costa
d38d54b67a small fix to Dialects. 2011-09-05 00:01:41 +02: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
Vitor Santos Costa
89023264a3 update branch 2011-09-04 19:32:21 +02:00
Vitor Santos Costa
df45128c8a new version of clib 2011-09-04 19:31:49 +02:00
Vitor Santos Costa
284ac49217 fix wide atom writing. 2011-09-02 23:22:35 +01:00
Vitor Santos Costa
d21888abc9 adjust submodules 2011-08-31 14:11:01 -07:00
Vitor Santos Costa
e19133e362 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-22 15:46:52 -03:00
Vitor Santos Costa
6c284faf8b make sure we do a full reset after Scleanup. 2011-08-22 15:45:49 -03:00
Vitor Santos Costa
811606059e try encoding even if . is not in string 2011-08-22 15:45:16 -03:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
5fa4da2e22 fix win directory access in YAP. 2011-08-18 22:33:49 +01:00
Vitor Santos Costa
2256c3bf8b add timezone flag 2011-08-16 13:31:19 +00:00
Vitor Santos Costa
23be6ccdfc fix wide atom handling. 2011-08-12 11:52:47 -03:00
Vitor Santos Costa
b9effea2e9 fix changes 2011-08-09 08:12:52 -03:00
Vitor Santos Costa
c871761c11 more qly stuff. 2011-08-03 08:23:00 +01:00
Vitor Santos Costa
545a3a2b03 writing hook for opaque terms. 2011-07-30 00:06:52 +01:00
Vitor Santos Costa
0e964c7278 include SWI patch. 2011-07-26 21:05:53 +01:00
Vitor Santos Costa
ffae487cf2 fix path support in WINDOWS. 2011-07-26 18:42:13 +01:00
Vitor Santos Costa
e145910234 windows path support. 2011-07-26 18:41:45 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
5437984815 Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-26 17:07:10 +01:00
Vitor Santos Costa
69f1bedf47 copy error routines from SWI. That was easy. 2011-07-25 23:52:05 +01:00
Vitor Santos Costa
f73d7ef5f6 fixes for WIN32 compilation. 2011-07-25 23:51:45 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
69e5fed10f new version of belief propagation solver. 2011-07-22 21:33:30 +01:00
Vitor Santos Costa
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00
Vitor Santos Costa
eea7f83e09 fix module stuff. 2011-07-22 14:50:32 +01:00
Vitor Santos Costa
08217b825b update swi packages. 2011-07-22 14:41:17 +01:00
Vitor Santos Costa
c78aa3cf1d fix user-c spying. 2011-07-22 14:10:55 +01:00
Vitor Santos Costa
e4a775925b fix handling of YAP_Blob terms. 2011-07-22 04:09:14 -07:00
Vitor Santos Costa
6fdf6b49f6 fix computation of cut register for either (yapor). 2011-07-21 14:39:57 +01:00
Vitor Santos Costa
de60807724 cleanup patch 2011-07-14 09:40:15 +01:00
Ricardo Rocha
22d8e33a5f fix cut support for or-parallelism 2011-07-13 17:36:26 +01:00
Vitor Santos Costa
45e5e3b983 work if ipackages are missing and some cleanups. 2011-07-13 15:31:22 +01:00
ubu32
2a51403518 fix restore of streams. 2011-07-11 21:15:15 -07:00
ubu32
f968a745e8 fix Scurin in mt 2011-07-11 07:06:20 -07:00
ubu32
2b213963dd use Scurin by default in read/1. 2011-07-10 04:50:55 -07:00
ubu32
04a6911b9f fix warnings. 2011-07-09 09:15:52 -07:00
ubu32
87b99f4d54 update pldoc. 2011-07-09 08:23:12 -07:00
Vitor Santos Costa
1130a3536d fix ProbLog error. 2011-07-04 22:36:57 +01:00
Vitor Santos Costa
9727f3c71c fix warning messages. 2011-07-04 22:36:34 +01:00
Vitor Santos Costa
21050891ee city example. 2011-07-02 09:49:12 +01:00
Vitor Santos Costa
be345a0387 update to recent ProbLog. 2011-06-26 23:13:43 +01:00
Vitor Santos Costa
249010bd90 add SWI compatible file_name_variables flag. 2011-06-21 22:33:10 +01:00
Vítor Santos Costa
53f76eb198 fix Makefile 2011-06-14 11:13:32 +01:00
Vítor Santos Costa
9549277295 fix Makefilew 2011-06-14 09:41:20 +01:00
Vítor Santos Costa
866d2130af disable make_index for now. 2011-06-14 09:39:19 +01:00
Vitor Santos Costa
b3a2f8efb2 new package (pldoc) and updates to several other packages. 2011-06-14 09:17:55 +01:00
Vitor Santos Costa
26c72dcfb1 include ww_browser 2011-06-13 01:57:15 +01:00
Vitor Santos Costa
f10e25b00d update packages. 2011-06-13 01:45:59 +01:00
Vitor Santos Costa
456adc6a4a pldoc seems to be working in YAP. 2011-06-13 01:45:29 +01:00
Vitor Santos Costa
9eabaa580c support for documentation in packages. 2011-06-12 22:26:04 +01:00
Vitor Santos Costa
f04a153e42 flag unavailable before gcc-4.2 2011-06-11 23:07:02 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
48284cfb44 windows console fixes 2011-06-09 17:55:27 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
a0748c7c10 windows interface. 2011-06-06 19:03:20 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
d685b8891f fix compilation flag. 2011-06-06 12:29:28 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
eb700c647d fix lost buffer 2011-06-06 12:29:13 +01:00
Vítor Santos Costa
b1a3b925ae handle variable destroyed by garbage collector. 2011-06-03 12:54:09 +01:00
Vítor Santos Costa
56d71e55b4 remove unecesary files. 2011-06-03 12:26:10 +01:00
Vitor Santos Costa
1962a0507f Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-06-01 14:39:43 +01:00
Vitor Santos Costa
e9171547b9 implementation of bayes ball. 2011-05-27 21:34:55 +01:00
Vítor Santos Costa
791106aa05 these two now include SWI-Stream in Yap.h, so they need PL_KERNEL defined before Yap.h. 2011-05-27 11:49:42 +01:00
Joao
f658a99dad fix C/scanner.c. change some misc/LOCALS initializations. 2011-05-26 15:02:00 +01:00
Joao
98e35b16e8 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-05-25 16:41:39 +01:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Vítor Santos Costa
14bdc262df export TermToStream 2011-05-25 13:10:39 +01:00
Vitor Santos Costa
b3bd547f55 vel -> ve 2011-05-21 00:27:25 +01:00
Vitor Santos Costa
27dbe24b9e just link if variables have evidence, we can discard other unused variables. 2011-05-21 00:19:53 +01:00
Vitor Santos Costa
adcc2797e1 make sure query variables are accessible from top-level. 2011-05-21 00:15:20 +01:00
Vitor Santos Costa
55e2e6fe3a small fixes 2011-05-20 23:56:12 +01:00
Vitor Santos Costa
6d4d2b5830 fix Makefile for bp 2011-05-19 09:23:32 +01:00
Vitor Santos Costa
b7379a67cc Update CLP(BN) with Tiago's latest version of BP solver. 2011-05-17 12:00:33 +01:00
Joao
bce888bd6d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-05-11 18:24:25 +01:00
Joao
ab63cd190b LOCALS and GLOBALS are now generated by misc/buildlocalglobal. 2011-05-11 18:22:58 +01:00
Vitor Santos Costa
7122c657c0 more updates to meld. 2011-05-11 09:28:40 +01:00
Vítor Santos Costa
bbf83cb34d extra live should not be needed ... 2011-05-09 22:03:35 +01:00
Ricardo Rocha
a532b6cff3 struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS) 2011-05-09 19:36:51 +01:00
Vitor Santos Costa
72a83eec62 small fixes. 2011-05-08 23:49:06 +01:00
Vitor Santos Costa
925b8fec01 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-05-08 23:12:44 +01:00
Vitor Santos Costa
77407bc14e improve meld emulation to compile pagerank example. 2011-05-08 23:10:52 +01:00
Joao
d9cee607e9 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	C/cdmgr.c
2011-05-04 11:10:20 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vitor Santos Costa
bf6033082d Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-05-02 23:31:35 +01:00
Vitor Santos Costa
85c91d72b6 fix example path 2011-05-02 23:28:37 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
772cf833a6 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-05-02 18:23:50 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
a787605c5c fix compilation in win32win64 2011-05-02 18:22:07 +01:00
Vítor Santos Costa
81093f7edd HMM example. 2011-05-01 22:58:35 +01:00
Vítor Santos Costa
63d8536711 move examples upwards. 2011-05-01 22:49:34 +01:00
Vítor Santos Costa
697f7c650c I/O fixes. 2011-04-22 15:29:41 +01:00
Vítor Santos Costa
5488a9bccf for now go back to old tabling trailing
update YapR
2011-04-15 10:48:24 +01:00
Vítor Santos Costa
b11a3f894c make sure to initialise both fields in trail entry (helpful for valgrind). 2011-04-13 14:49:03 +01:00
Vítor Santos Costa
49582bf49c recent changes to YapR. 2011-04-04 16:25:14 +01:00
Vítor Santos Costa
e49e59c705 include optimise flag. 2011-04-04 16:23:46 +01:00
Vítor Santos Costa
4ed9df43ac remove Yap_InitPlIO (unused). 2011-04-04 13:55:39 +01:00
Vitor Santos Costa
417fb5c52c includ e6.2 changes for globals. 2011-04-04 13:20:35 +01:00
Vitor Santos Costa
598452c069 fix reinitialization of streams at Restore. 2011-03-28 22:55:28 +01:00
Vitor Santos Costa
889e146f0d update packages
fix tai loading bug (now compile tai libraries in binary).
2011-03-27 13:14:42 +01:00
Vitor Santos Costa
9c3d6a187d debugging cleanups
actually use readline flag.
2011-03-26 15:45:42 +00:00
Vitor Santos Costa
89d605d6c0 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3
Conflicts:
	packages/PLStream/pl-file.c
	packages/http
	packages/plunit
	pl/flags.yap
2011-03-26 15:27:03 +00:00
Vitor Santos Costa
48cd3bd675 use SWI flags. 2011-03-26 15:18:56 +00:00
Vítor Santos Costa
e03acef3f9 use SWI flags. 2011-03-26 15:17:17 +00:00
Vítor Santos Costa
0d9adb7dbc iprogress in submodules. 2011-03-25 23:17:06 +00:00
Vitor Santos Costa
0bd0936683 fix pl-read.c 2011-03-24 22:23:26 +00:00
Vitor Santos Costa
636d66d7ad Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-03-24 21:30:41 +00:00
Vitor Santos Costa
f3debd2f49 fix modules.y 2011-03-24 21:26:01 +00:00
Vítor Santos Costa
9aa4adb0dc update YapR. 2011-03-24 14:07:58 +00:00
Vítor Santos Costa
44f6ce1000 first cut at support for J Azevedo and Rui Camacho's YapR. 2011-03-23 09:46:27 +00:00
Vítor Santos Costa
a8bf2907d5 iupdate dtoa and new versions of packages. 2011-03-22 11:42:05 +00:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
b9b107eaa9 recent versions of packages. 2011-03-22 09:32:59 +00:00
unknown
185151db2a support MINGW 2011-03-21 23:39:25 +00:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
7670ce631b WIN32 patches 2011-03-21 17:07:58 +00:00
Vitor Santos Costa
97f46d5aa9 R support 2011-03-19 15:30:54 +00:00
Vitor Santos Costa
ca952a4eac include R package. 2011-03-19 15:29:06 +00:00
Vitor Santos Costa
97c76adbf4 fix RUNTEX 2011-03-19 15:28:45 +00:00
Vítor Santos Costa
36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa
8421af32e8 support datarootdir 2011-03-15 18:22:05 +00:00
Vítor Santos Costa
d96f9c3fe1 ZLIB support 2011-03-15 18:16:05 +00:00
Vítor Santos Costa
5b27d9fb72 fix submodule 2011-03-15 17:02:56 +00:00
Vítor Santos Costa
73b8478bdb iinclude all modules. 2011-03-15 16:41:33 +00:00
Vítor Santos Costa
123cf5af84 use external module for clib 2011-03-15 16:26:44 +00:00
Vítor Santos Costa
6b5046bb8c use external modules. 2011-03-15 16:22:56 +00:00
Vítor Santos Costa
2a76f86785 don't lock ThreadLocal predicates. 2011-03-15 09:08:09 +00:00
Vítor Santos Costa
656e95f068 fix low level emulation. 2011-03-14 21:03:28 +00:00
Vítor Santos Costa
2d2f5f8702 remove debugging message. 2011-03-14 21:03:13 +00:00
Vítor Santos Costa
0d6be2d858 improve string support
fix non-thread compilation.
2011-03-11 23:21:23 +00:00
Vítor Santos Costa
d42db0dc5c ithread_pool (untested). 2011-03-11 21:31:10 +00:00
Vítor Santos Costa
cb192cf26a add get_time. 2011-03-11 20:36:40 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa
3c5eb3ff7d use SWI version of CLIB 2011-03-10 11:05:53 +00:00
Vítor Santos Costa
4b8a9a4f4e make http an external module. 2011-03-09 23:38:58 +00:00
Vítor Santos Costa
f92f8daa6d fix debugging message. 2011-03-09 22:39:11 +00:00
Vitor Santos Costa
4ad0407388 fix small differences 2011-03-09 13:33:30 +00:00
Vitor Santos Costa
5418f55d74 fix pl-tai 2011-03-09 13:05:03 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
752fa4fc53 support windows compilation, upgrade to current uxnt. 2011-03-09 00:02:21 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a3f79cede9 WINDOWS compatibility 2011-03-08 00:03:50 +00:00
ubu32
e98ba46ccb make new code work in 32 bit Linux. 2011-03-07 08:34:20 -08:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa
9c3041f1e3 support copying registers in SWI code. 2011-03-03 11:41:21 +00:00
Vítor Santos Costa
da1df3d851 more cleanups. 2011-03-02 23:19:39 +00:00
Vítor Santos Costa
cd287280b3 fix warnings 2011-03-02 09:20:05 +00:00
Vítor Santos Costa
824b5ff88e support critical sections, now that we have Yap.h 2011-03-02 09:19:35 +00:00
Vítor Santos Costa
7f3e510992 get rid of aliasing warnings. 2011-03-02 09:18:51 +00:00
Vítor Santos Costa
d42f4daed0 get rid of unused functions. 2011-03-02 09:18:14 +00:00
Vítor Santos Costa
282760de9c fix an alias warning by replacing cast by an union. 2011-03-02 09:15:30 +00:00
Vítor Santos Costa
b868d85ac8 make rl not deadlock under SIGINT 2011-03-01 12:31:19 +00:00
Vítor Santos Costa
0e447436b3 fix missing lock in OpInfo 2011-03-01 10:32:25 +00:00
Vítor Santos Costa
cce6bb6354 LD should be local to threads.
get rid of write_depth on YAP side.
2011-03-01 10:26:25 +00:00
Vítor Santos Costa
31909e3741 fix makefile rules.
fix dtoa for 64 bit machines
2011-03-01 09:18:19 +00:00
ubu32
3f6b92de4b enable compilation with multi-threading. 2011-02-27 15:06:10 -08:00
ubu32
f2e8f2ac2e more fixes for bignum support in PLStream. 2011-02-27 03:40:27 -08:00
ubu32
3c261305db interface to rationals. 2011-02-27 02:13:25 -08:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vítor Santos Costa
fbdac55317 rm Makefile, we have Makefile.in 2011-02-25 12:05:51 +00:00
Vítor Santos Costa
11f4ac0e52 remove dump files. 2011-02-25 12:04:46 +00:00
Vítor Santos Costa
f92fa69eab more PLStream stuff. 2011-02-23 17:46:50 +00:00
Vítor Santos Costa
6ea0b727e0 delete executable. 2011-02-23 15:35:17 +00:00
Vítor Santos Costa
29e46cbab9 Experimental code for Tiago Gomes bp solver. 2011-02-23 15:31:56 +00:00
Vitor Santos Costa
4a5ba35937 assembly fixes
more support for readline, including getting more stuff from read.
2011-02-17 00:57:49 +00:00
Vitor Santos Costa
d4f11c9fda Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-02-16 21:12:03 +00:00
Vitor Santos Costa
0614a8c26e readline fixes 2011-02-16 21:11:45 +00:00
ubu32
3736a14d9b small fixes 2011-02-15 16:41:32 -08:00
Vitor Santos Costa
dce619f804 compile readline. 2011-02-16 00:23:58 +00:00
Vitor Santos Costa
ef918d8fe4 try compiling pl-rl 2011-02-15 23:45:47 +00:00
Vitor Santos Costa
842f80e928 encoding support. 2011-02-15 22:44:06 +00:00
Vítor Santos Costa
49f980a7a7 small fixes 2011-02-15 19:24:15 +00:00
Vítor Santos Costa
e90a1ce024 avoid repeated fetch 2011-02-15 18:40:18 +00:00
Vítor Santos Costa
ce0874d6be improve code to avoid warning. 2011-02-15 18:39:50 +00:00
Vítor Santos Costa
7b8a25d961 iYAP allows variables to be written as $VAR(-1) -> _ 2011-02-15 18:24:35 +00:00
ubu32
57f5ef8cfc more bug fixes:
- make readline use packages, not old YAP code
- fix ! over backtrack cps
- fix write list
2011-02-15 05:54:19 -08:00
ubu32
4dbdaaa772 eplace format 2011-02-14 14:13:45 -08:00
ubu32
f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00
ubu32
09f4810b76 __APPLE__ is __unix__:w 2011-02-14 06:51:28 -08:00
ubu32
17da004a5f make sure we initialize the OS bits. 2011-02-14 06:49:48 -08:00
Vitor Santos Costa
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa
2d07a7730e remove YAP memory (string) streams. 2011-02-12 18:42:44 +00:00
Vitor Santos Costa
a41627ef1d return time as an int64, not as a float. 2011-02-12 00:45:00 +00:00
Vitor Santos Costa
712300027e include support for working_directory/2 as a system predicate. 2011-02-12 00:26:28 +00:00
Vitor Santos Costa
2451a052cb use text routines from current SWI fli. 2011-02-12 00:17:59 +00:00
Vítor Santos Costa
45032cc61e export current predicate for SWI built-ins. 2011-02-11 19:01:18 +00:00
Vitor Santos Costa
07b17f473a improve non empty files. 2011-02-11 14:17:06 +00:00
Vítor Santos Costa
b475be5692 more SWI compatibility changes. 2011-02-11 01:22:07 +00:00
Vítor Santos Costa
02c791fc3d iminor PLStream fixes. 2011-02-10 21:45:43 +00:00
Vitor Santos Costa
3fe9b923cb more fixes to SWI emulation
integrate in main binary
2011-02-10 21:14:38 +00:00
Vitor Santos Costa
841f6eb1e5 YAP updates. 2011-02-10 00:02:05 +00:00
Vitor Santos Costa
232a740d43 upgrade to latest SWI 2011-02-10 00:01:19 +00:00
Vitor Santos Costa
8e8c361671 zlib is now submodule. 2011-02-09 13:11:15 +00:00
Vitor Santos Costa
b00ed6508e move to new sharing structure 2011-02-09 13:10:20 +00:00
Vítor Santos Costa
0ad02c3ee1 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-02-08 21:06:02 +00:00
Vítor Santos Costa
54507703fe Merge branch 'master' of ../yap-6.2 2011-02-08 21:05:12 +00:00
Theofrastos Mantadelis
89789e8232 corrected an import bug 2011-02-08 15:57:23 +01:00
Vitor Santos Costa
9bdc7ca96e get rid of references to freed code. 2011-02-04 01:23:01 +00:00
Vitor Santos Costa
c1721df472 Merge branch 'master' of /yap-6.3
Conflicts:
	C/c_interface.c
2011-02-03 11:33:50 +00:00
Vitor Santos Costa
48b891a5b2 Merge branch 'master' of ../yap-6.2 2011-02-03 11:27:01 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a4a1feeacc improve SWI emulation in WIN32. 2011-02-03 11:23:12 +00:00
Vítor Santos Costa
ea5b0a29b2 Merge branch 'master' of ../yap-6.2 2011-02-02 19:38:32 +00:00
Vítor Santos Costa
cbf6caddbd fix support for comparing weird terms. 2011-02-02 19:37:11 +00:00
Vítor Santos Costa
f840ee307d Merge branch 'master' of ../yap-6.2 2011-02-02 16:15:50 +00:00
Vitor Santos Costa
67ec597966 Merge ../yap-6.2 2011-01-21 08:16:41 -06:00
Theofrastos Mantadelis
457052f661 Corrected a minor ProbLog bug 2011-01-17 12:02:05 +01:00
vsc
150d54d527 fix jpl 2010-12-31 05:39:22 +00:00
vsc
58b838b8e1 fix bad overflow handling 2010-12-31 05:37:25 +00:00
Vitor Santos Costa
fa0e2d6954 Merge branch 'master' of ../yap-6.2 2010-12-30 22:45:06 -06:00
Vitor Santos Costa
5feb6a9dc5 SWI emulation: it is unsafe to keep arguments in regs. 2010-12-30 22:42:30 -06:00
Vitor Santos Costa
7c86b244b9 patches from Keri Harris 2010-12-30 22:14:45 -06:00
Vitor Santos Costa
eb4e59652f fix getStrem in 2010-12-29 09:29:30 -06:00
Theofrastos Mantadelis
8d77ee7769 ProbLog: Added fact map export 2010-12-20 12:36:59 +01:00
Vitor Santos Costa
8cee9a27c7 Merge branch 'master' of ../yap-6.2 2010-12-19 22:07:44 +00:00
Vitor Santos Costa
168a6366f8 enable obtaining current stream_position from SWI.y 2010-12-19 21:32:13 +00:00
Vítor Santos Costa
26c265ba13 Merge branch 'master' of ../yap-6.2 2010-12-17 20:27:26 +00:00
Theofrastos Mantadelis
90041919d4 fixed problogbdd compilation warnings 2010-12-17 12:23:03 +01:00
Vítor Santos Costa
81ca149be7 Merge branch 'master' of ../yap-6.2 2010-12-16 22:22:44 +00:00
Theofrastos Mantadelis
a442d888de Newest ProbLog version 2010-12-16 14:30:50 +01:00
Vítor Santos Costa
2dad416011 Merge branch 'master' of ../yap-6.2 2010-12-15 20:04:13 +00:00
Vítor Santos Costa
4546a22101 SWI seems to use t=0 for user_input/output. Not very clear why... 2010-12-15 20:03:22 +00:00
Vitor Santos Costa
dffacb814b Merge branch 'master' of ../yap-6.2 2010-12-13 12:40:07 +00:00
Vitor Santos Costa
3c4da56af2 allow write to find out about SWI streams in SWI mode. 2010-12-13 12:38:37 +00:00
Vítor Santos Costa
51e9cb14a7 nl should be in the SWI IO (obs from Roberto Bagnara). 2010-12-12 19:07:24 +00:00
Vítor Santos Costa
b086d8b5cd Merge branch 'master' of ../yap-6.2 2010-12-07 18:21:50 +00:00
Vítor Santos Costa
1bbded5ef7 memfiles need swi compat streams. 2010-12-07 18:20:45 +00:00
Vítor Santos Costa
856a32bd19 Merge branch 'master' of ../yap-6.2 2010-12-03 12:13:14 +00:00
Vítor Santos Costa
f8806bed9f explicitely link pthreads in clib. 2010-12-03 12:12:15 +00:00
Vítor Santos Costa
4e0390da5c Merge branch 'master' of ../yap-6.2 2010-12-02 19:42:52 +00:00
Theofrastos Mantadelis
9ee83ddf6c problog examples fix 2010-12-02 15:04:42 +01:00
Theofrastos Mantadelis
f46000cd11 office fix 2010-12-02 15:02:49 +01:00
Theofrastos Mantadelis
df162a0ae6 Updating ProbLog and adding ADs 2010-12-02 14:55:15 +01:00
Theofrastos Mantadelis
b54517d419 Updating ProbLog and adding ADs 2010-12-02 14:54:47 +01:00