Jump to content

DLV

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Wbm1058 (talk | contribs) at 02:16, 27 October 2014 (no need to state the obvious in the hatnote, use {{other uses}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The DLV (DataLog with Disjunction, whereas the logical disjunction symbol V is used) system is a disjunctive logic programming system, implementing the stable model semantics under the Answer set programming paradigm. It extends the datalog language to allow the use of OR in rules. The tutorial page gives a simple example modeling some laughing when told a joke.

joke.
laugh :- joke.

The following would represent the case where a joke was not told.

laugh :- joke.

Since the value of joke is not indicated as true in the second program it is assumed to be false.

External Links