Article Open Access Logo

AN ALGORITHM FOR CALCULATING MODELS IN LOGIC PROGRAMMING

Tran Ngoc Thai Kha 1
Volume & Issue: Vol. 7 No. 6 (2004) | Page No.: 54-59 | DOI: 10.32508/stdj.v7i6.3218
Published: 2004-06-30

Online metrics


Statistics from the website

  • Abstract Views: 5415
  • Galley Views: 1021

Statistics from Dimensions

Copyright The Author(s) 2023. This article is published with open access by Vietnam National University, Ho Chi Minh city, Vietnam. This article is distributed under the terms of the Creative Commons Attribution License (CC-BY 4.0) which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited. 

Abstract

Logic programming consists of two main components (semantic and algorithm) in order to calculate the models from particular logic programs. Recently, there is not an algorithm for solving this problem completely. In this paper, we will present an extended algorithm for calculating models of general semantic in logic programming. The extended algorithm divides the originally program into subprograms, reduces, calculates subprogram models and then synthetize to the whole program models. It is based on fitting semantic, stable model semantic and “strongly connected components”.

Comments