🗊Презентация Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics

Нажмите для полного просмотра!
Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №1Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №2Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №3Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №4Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №5Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №6Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №7Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №8Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №9Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №10Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №11

Вы можете ознакомиться и скачать презентацию на тему Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics. Доклад-сообщение содержит 11 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1





Prolog
Описание слайда:
Prolog

Слайд 2





Prolog
Prolog is a general-purpose logic 
programming language associated 
with artificial intelligence and 
computational linguistics
Описание слайда:
Prolog Prolog is a general-purpose logic programming language associated with artificial intelligence and  computational linguistics

Слайд 3





Prolog
Prolog has its roots in first-order logic, a formal logic, and unlike many other programming languages, Prolog is intended primarily as a declarative programming language: the program logic is expressed in terms of relations, represented as facts and rules. A computation is initiated by running a queryover these relations.
Prolog was one of the first logic programming languages, and remains the most popular among such languages today, with several free and commercial implementations available.
Описание слайда:
Prolog Prolog has its roots in first-order logic, a formal logic, and unlike many other programming languages, Prolog is intended primarily as a declarative programming language: the program logic is expressed in terms of relations, represented as facts and rules. A computation is initiated by running a queryover these relations. Prolog was one of the first logic programming languages, and remains the most popular among such languages today, with several free and commercial implementations available.

Слайд 4





Data types
Prolog's single data type is the term. Terms are either atoms, numbers, variables or compound terms
An atom is a general-purpose name with no inherent meaning. Examples of atoms include x, red, 'Taco', and 'some atom'.
Numbers can be floats or integers. ISO standard compatible Prolog systems can check the Prolog flag "bounded". Most of the major Prolog systems support arbitrary length integer numbers.
Описание слайда:
Data types Prolog's single data type is the term. Terms are either atoms, numbers, variables or compound terms An atom is a general-purpose name with no inherent meaning. Examples of atoms include x, red, 'Taco', and 'some atom'. Numbers can be floats or integers. ISO standard compatible Prolog systems can check the Prolog flag "bounded". Most of the major Prolog systems support arbitrary length integer numbers.

Слайд 5





Data types
Variables are denoted by a string consisting of letters, numbers and underscore characters, and beginning with an upper-case letter or underscore. Variables closely resemble variables in logic in that they are placeholders for arbitrary terms.
A compound term is composed of an atom called a "functor" and a number of "arguments", which are again terms. Compound terms are ordinarily written as a functor followed by a comma-separated list of argument terms, which is contained in parentheses. The number of arguments is called the term's arity. An atom can be regarded as a compound term with arity zero. Examples of compound terms are truck_year('Mazda', 1986) and 'Person_Friends'(zelda,[tom,jim]).
Описание слайда:
Data types Variables are denoted by a string consisting of letters, numbers and underscore characters, and beginning with an upper-case letter or underscore. Variables closely resemble variables in logic in that they are placeholders for arbitrary terms. A compound term is composed of an atom called a "functor" and a number of "arguments", which are again terms. Compound terms are ordinarily written as a functor followed by a comma-separated list of argument terms, which is contained in parentheses. The number of arguments is called the term's arity. An atom can be regarded as a compound term with arity zero. Examples of compound terms are truck_year('Mazda', 1986) and 'Person_Friends'(zelda,[tom,jim]).

Слайд 6





Rules and facts
Prolog programs describe relations, defined by means of clauses. 
Pure Prolog is restricted to Horn clauses. There are two types of clauses: 
facts and rules. A rule is of the form
Head :- Body. 
and is read as "Head is true if Body is true". A rule's body consists of calls 
to predicates, which are called the rule's goals. The built-in predicate ,
/2 (meaning a 2-arity operator with name ,) denotes conjunction of goals, 
and ;/2 denotes disjunction. Conjunctions and disjunctions can only
 appear in the body, not in the head of a rule.
Описание слайда:
Rules and facts Prolog programs describe relations, defined by means of clauses. Pure Prolog is restricted to Horn clauses. There are two types of clauses: facts and rules. A rule is of the form Head :- Body. and is read as "Head is true if Body is true". A rule's body consists of calls to predicates, which are called the rule's goals. The built-in predicate , /2 (meaning a 2-arity operator with name ,) denotes conjunction of goals, and ;/2 denotes disjunction. Conjunctions and disjunctions can only appear in the body, not in the head of a rule.

Слайд 7


Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №7
Описание слайда:

Слайд 8


Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №8
Описание слайда:

Слайд 9


Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №9
Описание слайда:

Слайд 10


Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №10
Описание слайда:

Слайд 11


Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics, слайд №11
Описание слайда:



Похожие презентации
Mypresentation.ru
Загрузить презентацию