P+;+; software
First Claim
1. A computer readable medium having computer readable programming code means embodied therein for use on a computer system, said programming code means comprising:
- first computer readable programming code defining a set of predicate-style clauses where each clause is selected from the group consisting of a fact about given information, a rule about how a solution may relate to given facts, and a rule about how a solution may be inferred from given facts;
second computer readable programming code defining a query as a set of clauses preceded by question mark followed by a dash, which causes an execution to satisfy each clause against an existing program;
third computer readable programming code defining first and second structure types for arguments of clauses for both the first and second computer readable programming code;
fourth computer readable programming code defining a third structure type as being selected from the group consisting of the first structure type, the second structure types, a list, and a compound term;
fifth computer readable programming code defining a data term as in a form selected from the group consisting of an atom, a number, and a quoted string;
sixth computer readable programming code defining one of the group consisting of a hierarchical structure and a hierarchical structure type as one in which the outmost structure is a third structure type;
seventh computer readable programming code defining a variable which can be instantiated at runtime to a form selected from the group consisting of a data term and a hierarchical structure;
eighth computer readable programming code defining a term in a form selected from the group consisting of a data term, a hierarchical structure, and a variable;
ninth computer readable programming code defining a fourth structure type which is hierarchically defined so that each of its members is selected from the group consisting of a variable, a data term, and a hierarchical structure type, and wherein the fourth structure type is recursively processed; and
, tenth computer readable programming code defining a fifth structure type which is recursively defined so that each of its members is selected from the group consisting of a term including a hierarchical structure of its own type and any hierarchical structure type including itself, wherein each structure in this structure type has a fixed length throughout inputting, storing, processing, and outputting, and wherein the fifth structure type is recursively processed.
0 Assignments
0 Petitions
Accused Products
Abstract
P++ software that provides a Prolog language data storing and processing method, includes making a plurality of different application programs, introduces two structure types into arguments of clauses, implements these two structure types in predicate inputting, memory storing, processing through unification and back tracking, and outputting for each query. The first structure type is hierarchically defined and recursively processed. Its member can be a variable, a data term, or of any other structure type except itself. Its variable child member can be substituted by one of this structure type making a result in the same structure type with different length. The second structure type is recursively defined and processed. Its member can be a variable, a data term, or of any structure type including itself. It has fixed number of members. With these two structure types, addition and multiplication are extended to multi-dimensional space operations.
-
Citations
20 Claims
-
1. A computer readable medium having computer readable programming code means embodied therein for use on a computer system, said programming code means comprising:
-
first computer readable programming code defining a set of predicate-style clauses where each clause is selected from the group consisting of a fact about given information, a rule about how a solution may relate to given facts, and a rule about how a solution may be inferred from given facts;
second computer readable programming code defining a query as a set of clauses preceded by question mark followed by a dash, which causes an execution to satisfy each clause against an existing program;
third computer readable programming code defining first and second structure types for arguments of clauses for both the first and second computer readable programming code;
fourth computer readable programming code defining a third structure type as being selected from the group consisting of the first structure type, the second structure types, a list, and a compound term;
fifth computer readable programming code defining a data term as in a form selected from the group consisting of an atom, a number, and a quoted string;
sixth computer readable programming code defining one of the group consisting of a hierarchical structure and a hierarchical structure type as one in which the outmost structure is a third structure type;
seventh computer readable programming code defining a variable which can be instantiated at runtime to a form selected from the group consisting of a data term and a hierarchical structure;
eighth computer readable programming code defining a term in a form selected from the group consisting of a data term, a hierarchical structure, and a variable;
ninth computer readable programming code defining a fourth structure type which is hierarchically defined so that each of its members is selected from the group consisting of a variable, a data term, and a hierarchical structure type, and wherein the fourth structure type is recursively processed; and
,tenth computer readable programming code defining a fifth structure type which is recursively defined so that each of its members is selected from the group consisting of a term including a hierarchical structure of its own type and any hierarchical structure type including itself, wherein each structure in this structure type has a fixed length throughout inputting, storing, processing, and outputting, and wherein the fifth structure type is recursively processed. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented method for facilitating the execution of a set of instructions encoded from an implementation of Prolog programming code on a computer system having a processor, a memory, and registers, said method comprising the steps of:
-
providing first computer readable programming code defining a first structure type which is hierarchically defined so that each of its members is selected from the group consisting of a variable, a data term, and a hierarchical structure type, and wherein the first structure type is recursively processed;
providing second computer readable programming code defining a second structure type which is recursively defined so that each of its members can be a term including a hierarchical structure of its own type, wherein each structure in this structure type has a fixed length throughout inputting, storing, processing, and outputting, and wherein the second structure type is recursively processed; and
,carrying out algebraic operations to matrices including addition, subtraction, and multiplication with said first computer readable programming code and said second computer readable programming code. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer system for processing enhanced Prolog programming code, wherein said computer system comprises:
-
a processor, a memory coupled to said processor;
registers coupled to said processor;
a computer readable medium coupled to said memory, said computer readable medium storing a computer program having executable code for said processor, said computer program comprising;
first computer readable programming code defining a set of predicate-style clauses where each clause is selected from the group consisting of a fact about given information, a rule about how a solution may relate to given facts, and a rule about how a solution may be inferred from given facts;
second computer readable programming code defining a query as a set of clauses preceded by question mark followed by a dash, which causes an execution to satisfy each clause against an existing program;
third computer readable programming code defining first and second structure types for arguments of clauses for both the first and second computer readable programming code;
fourth computer readable programming code defining a third structure type as being selected from the group consisting of the first structure type, the second structure types, a list, and a compound term;
fifth computer readable programming code defining a data term in a form selected from the group consisting of an atom, a number, and a quoted string;
sixth computer readable programming code defining one of the group consisting of a hierarchical structure and a hierarchical structure type as one in which the outmost structure is a third structure type;
seventh computer readable programming code defining a variable which can be instantiated at runtime to a form selected from the group consisting of a data term and a hierarchical structure;
eighth computer readable programming code defining a term in a form selected from the group consisting of a data term, a hierarchical structure, and a variable;
ninth computer readable programming code defining a fourth structure type which is hierarchically defined so that each of its members is selected from the group consisting of a variable, a data term, and a hierarchical structure type, and wherein the fourth structure type is recursively processed; and
,tenth computer readable programming code defining a fifth structure type which is recursively defined so that each of its members is selected from the group consisting of a hierarchical structure of its own type and hierarchical structure type including itself. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification