An open API service indexing awesome lists of open source software.

https://github.com/megave/prolog-tasks

My solution for the tasks from the Logic Programming discipline, during the 3th period of the course | Resoluções minhas dos trabalhos propostos durante a disciplina de Programação Lógica, no 3º Período do curso
https://github.com/megave/prolog-tasks

array-sorting general-purpose n-queens-problem prolog-exercises

Last synced: 2 months ago
JSON representation

My solution for the tasks from the Logic Programming discipline, during the 3th period of the course | Resoluções minhas dos trabalhos propostos durante a disciplina de Programação Lógica, no 3º Período do curso

Awesome Lists containing this project

README

        

# Prolog Tasks (Trabalhos Prolog)
My solution for the tasks from the Logic Programming discipline, during the 3th period of the course | Resoluções minhas dos trabalhos propostos durante a disciplina de Programação Lógica, no 3º Período do curso

## 1 - First Prolog program (Primeiro programa Prolog)
Complete development of a program simulating a genealogical tree and its kinship relations.
(Desenvolvimento completo de um programa que simula uma árvore genealógica e as relações do parentesco.)

## 2 - N-Queens Problem (Problema das N-Rainhas)
Implementation of the criaup and criainf predicates, along the printing functions, in a program solving the N-Queens problem.
(Implementação dos predicados criaup e criainf, juntamente das funções de impressão, num programa que resolve o problema lógico das N-Rainhas.)

## 3 - Sorting (Ordenação)
Changes on the insertion and selection operations, so that they reverse sort a number array.
(Transformação nas operações de inserção e seleção, para que façam ordenação inversa de uma lista com números.)

## 4 - Missionaries and Cannibals Problem (Problema dos Missionários e Canibais)
Development of the predicates defining the states and possible operations in the solution tree of the missionaries and cannibals problem.
(Desenvolvimento dos predicados que definem os estados e as operações possíveis na árvore de resolução do problema dos Missionários e Canibais.)