Answer Set Programming - Answer Set Programming Language AnsProlog

Answer Set Programming Language AnsProlog

Lparse is the name of the program that was originally created as grounding tool (front-end) for the answer set solver smodels. The language that Lparse accepts is now commonly called AnsProlog*, short for Answer Set Programming in Logic. It is now used in the same way in many other answer set solvers, including assat, clasp, cmodels, gNt, nomore++ and pbmodels. (dlv is an exception; the syntax of ASP programs written for dlv is somewhat different.)

An AnsProlog program consists of rules of the form

Read more about this topic:  Answer Set Programming

Famous quotes containing the words answer, set, programming and/or language:

    “If Washington were President now, he would have to learn our ways or lose his next election. Only fools and theorists imagine that our society can be handled with gloves or long poles. One must make one’s self a part of it. If virtue won’t answer our purpose, we must use vice, or our opponents will put us out of office, and this was as true in Washington’s day as it is now, and always will be.”
    Henry Brooks Adams (1838–1918)

    From too much love of living,
    From hope and fear set free,
    We thank with brief thanksgiving
    Whatever gods may be
    That no life lives for ever;
    That dead men rise up never;
    That even the weariest river
    Winds somewhere safe to sea.
    —A.C. (Algernon Charles)

    If there is a price to pay for the privilege of spending the early years of child rearing in the driver’s seat, it is our reluctance, our inability, to tolerate being demoted to the backseat. Spurred by our success in programming our children during the preschool years, we may find it difficult to forgo in later states the level of control that once afforded us so much satisfaction.
    Melinda M. Marshall (20th century)

    Poetry is the universal language which the heart holds with nature and itself. He who has a contempt for poetry, cannot have much respect for himself, or for anything else.
    William Hazlitt (1778–1830)