Решение некоторого класса логических задач на основе предикатных моделей с генератором состояний

Ольга Николаевна Половикова, Алексей Владимирович Зенков · Computer Tools in Education · 2019

In this study, the method of solving logic tasks by declarative language Prolog based on the method of searching in the space of configurations is identified and analyzed. The essence of the method is to declare the generator of configurations, which forms the search space, and the selection procedure for sifting the constructed States according to a certain principle. The study proposes a classification of solutions by this method. Described a formal model of the decision of following problems: The generalized problem of the crossing, The task of the blood work and The problem of constructing code words. For the description of objects and their configurations it is offered to use bit chains, and for generation of the next state - bit operations. The described approaches to the construction of the desired options allow us to find all possible solutions of a given dimension. The perspectives of the generating rules of the knowledge base. The examples of declarative models obtained in the course of the study are used in teaching the course < > at the Altai State University.

Cited by 2 works. doi:10.32603/2071-2340-2019-1-54-67 Open-access PDF

Authors

References