Студопедия
Случайная страница | ТОМ-1 | ТОМ-2 | ТОМ-3
АрхитектураБиологияГеографияДругоеИностранные языки
ИнформатикаИсторияКультураЛитератураМатематика
МедицинаМеханикаОбразованиеОхрана трудаПедагогика
ПолитикаПравоПрограммированиеПсихологияРелигия
СоциологияСпортСтроительствоФизикаФилософия
ФинансыХимияЭкологияЭкономикаЭлектроника

Recursive rules of inference

Logical Functions | Rules of Inference | Architecture of Deductive Database Systems | Backward Chaining Procedure |


Читайте также:
  1. Agreement of the predicate with the subject (general notion, rules of agreement).
  2. Article 240. Violation of rules related to the protection of mineral resources
  3. Article 419. Violation of statutory rules of border guard duty
  4. As puritanical rules retreat, the American market for beer and spirits is growing more competitive
  5. A” CLASS – CATEGORIES AND RULES
  6. B) The main rules
  7. B” CLASS – CATEGORIES AND RULES


It should be especially noted that inferred facts can be defined recursively, i.e. an inferred fact can be used as a Conclusion and as a predicate in the Body of a particular rule of inference.
Consider the following database schema:

Rule of inference: Desc(f, s): Person "s" is a descendent of person "f" if

The facts Desc(f, s) are inferred as follows:


Recursive rules of inference may invoke external procedures or arithmetical operation (for example, multiplication " Q = q1 x q2 ") defined as predicates.
Consider another example of a deductive database system:

The facts Need+(CP, P, Q) are infered as follows:


Recursive rules of inference combined with calculations are a very powerful tool. Thus the deductive system discussed before might be a very useful to support so-called "Bill of Materials".
It "intelligently" infer an answer to questions like:

 


Дата добавления: 2015-11-14; просмотров: 55 | Нарушение авторских прав


<== предыдущая страница | следующая страница ==>
Forward Chaining Procedure| Computational terms

mybiblioteka.su - 2015-2024 год. (0.006 сек.)