Commit Graph

73 Commits

Author SHA1 Message Date
rzf
0ca51355ce added memory profiling calls
removed limit to 1000 variables imposed by createVars beause of the use
of tha array of names of variables


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2266 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 08:38:36 +00:00
rzf
2335cd57a1 added timing predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2255 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 12:27:55 +00:00
rzf
d7d47326a5 measuring time
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2229 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-02 14:21:00 +00:00
rzf
45a05e9206 fixed predicates for measuring time
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2228 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-02 06:22:23 +00:00
rzf
5575cdbd4f fixed degererated cond queries
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2227 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-01 09:41:26 +00:00
rzf
111d8c4eee removed debugging predicate matrix_to_list
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2226 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-30 18:06:46 +00:00
rzf
16592e35cc answers 1.0 to a conditional query with evidence equal to the query
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2225 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-30 17:57:21 +00:00
rzf
62faa60978 removed bug in conditinal queries
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2224 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-30 14:10:27 +00:00
rzf
2b1e2fd92b fied bug in conditional queries
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2223 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-30 13:14:51 +00:00
rzf
df30934ea9 added heuristics for elimination orderings:
minimum deficiency
maximum cardinality


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2222 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-29 22:24:30 +00:00
rzf
ee2c0ca203 added installation of new solvers
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2134 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:41:01 +00:00
rzf
094c256ae7 added test file for the new solvers
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2133 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:40:21 +00:00
rzf
0d7427ad83 added the possibility of having builtin predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2132 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:39:43 +00:00
rzf
2237f94e06 removed some useless code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2130 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 14:54:32 +00:00
rzf
04c4c58edf corrected bug in fix_evidence
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2129 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 13:03:23 +00:00
rzf
2152d90937 efficient variable elimination for lpads. Still buggy
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2128 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 11:32:26 +00:00
rzf
70749fc27f initial implementation of vel for lpads
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2127 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 17:30:35 +00:00
rzf
a35877eb05 reverted to old version due to a wrong commit
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2125 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:43:30 +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
rzf
8f02f3eb60 corrected a syntax bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2120 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-27 20:35:33 +00:00
rzf
6bf0853de8 added arguments to s and sc for compputing the cpu and wall time for resolution and inference
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2119 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-27 20:00:57 +00:00
rzf
7c4b951975 Included lpadclpbn.pl in the installation of clpint
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2105 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-18 16:58:51 +00:00
rzf
e3e1efb566 Goal oriented interpreter for LPADs where inference is performed by translating the portion of the LPAD related to the goal into CLP(BN)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2104 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-18 16:52:33 +00:00
rzf
5b2cc724f3 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2087 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 09:43:31 +00:00
rzf
7f925bcd5b corrected bugs in handling negation
improved performance


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2044 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-11 18:46:14 +00:00
rzf
b8f97132d2 fixed typo in configure.in
cleaned up code in lpad.pl


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2043 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-11 11:49:36 +00:00
rzf
0ba4dd8efd removed loading of shared library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2042 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-10 21:27:20 +00:00
rzf
803e032b9f added some test file
added a target to makefile to perform individual tests


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2040 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 17:43:32 +00:00
rzf
9c511da82c Corrected a bug when dealing with existentially quantified bodies.
Now it does not need anymore BDDs


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2039 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 16:32:17 +00:00
rzf
c9c6b2e25c fixed compilation bug (it was not finding YapInterface.h in a clean install)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2036 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 10:47:19 +00:00
rzf
212a27a564 handling queries composed by a single negative literal
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2035 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 22:55:17 +00:00
rzf
e58d6b7bb5 added comments
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2034 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 18:47:31 +00:00
rzf
63bd762d12 added test file for semlpadsld.pl and semlpad.pl
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2033 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 18:31:34 +00:00
rzf
523a101b15 added comments to the semantic modules
added test files for semlpadsld.pl and semlpad.pl


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2032 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 18:30:35 +00:00
rzf
69ac9d7885 removed comment
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2027 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-17 19:12:02 +00:00
rzf
f7ea80dec3 added dual compilation html/pdf to manual.tex
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2026 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-17 19:09:05 +00:00
rzf
48b6818654 added instructions on semcpl.pl commands print/0 and build/1
modified targets of Makefile


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2025 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 15:23:01 +00:00
rzf
3fb3776842 fized formatting
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2021 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 16:31:17 +00:00
rzf
3fb86afe87 added comments
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2020 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 16:29:09 +00:00
rzf
d88751ae2d now it copies also manual.bbl and Makefile
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2019 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 16:27:09 +00:00
rzf
dd38b5706f removing old files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2018 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 14:01:22 +00:00
rzf
8fb01d6607 examples for the new programs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2017 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:38:55 +00:00
rzf
83b4c2cdac description of the new programs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2016 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:35:29 +00:00
rzf
011632500d added the new prograams
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2015 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:34:31 +00:00
rzf
dd7a96e082 list of test for semlpad.pl and semlpadsld.pl
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2014 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:33:56 +00:00
rzf
28dd8a87a4 program for testing semcpl.pl
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2013 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:33:14 +00:00
rzf
5f6c063171 program for testing cpl.pl
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2012 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:32:39 +00:00
rzf
d63e4aaaad module for computing the semantics of CP-logic programs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2011 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:32:13 +00:00
rzf
2ffffffed0 module for answering queries from CP-logic programs and detecting invalid programs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2010 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:30:57 +00:00
rzf
8a5020d7c3 module for computing the semantics of LPADs and answering queries by using
SLG over instances


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2009 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:29:48 +00:00