-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for interval terms. Rewrite test docstrings.
- Loading branch information
Showing
5 changed files
with
71 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,15 @@ | ||
% reified fact representation of program: | ||
% #program base. | ||
% rel(2,1) :- rel(1,2). | ||
% next(move(a)). | ||
|
||
program("base",constant_tuple(0),statement_tuple(1)). | ||
statement_tuple(1,0,rule(2)). | ||
rule(2,literal(3),literal_tuple(9)). | ||
rule(2,literal(3),literal_tuple(11)). | ||
% facts representing head literal rel(2,1). | ||
literal(3,"pos",atom(4)). | ||
atom(4,function(5)). | ||
function(5,rel,term_tuple(6)). | ||
term_tuple(6,0,number(7)). | ||
number(7,2). | ||
term_tuple(6,1,number(8)). | ||
number(8,1). | ||
% facts representing body literal rel(1,2). | ||
literal_tuple(9,0,literal(10)). | ||
literal(10,"pos",atom(11)). | ||
atom(11,function(12)). | ||
function(12,rel,term_tuple(13)). | ||
term_tuple(13,0,number(14)). | ||
number(14,1). | ||
term_tuple(13,1,number(15)). | ||
number(15,2). | ||
function(5,next,term_tuple(6)). | ||
term_tuple(6,0,function(7)). | ||
function(7,move,term_tuple(8)). | ||
term_tuple(8,0,function(9)). | ||
function(9,a,term_tuple(10)). |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters