IF Computer > MINERVA > Example Programs > MINERVA Features > Constraints

Constraints

MINERVA
ifcomputer logo
f
Expert Services on the Web

Constraint Handling in MINERVA: the example is configured as application.

Review the programs of this directory to observe:

  • declarative programming style
  • the use of the predicates
    • co_add/2
    • co_get/2
    • co_merge/2 (user defined)
    • co_check/2 (user defined)
  • the definition of constraints
    • delay
    • finite domains
  • the use of constraints
    • genf.min to solve the "genf" puzzle
  • the combination of Prolog backtracking to generate multiple solutions with constraint problem solving
    • genf1.min to find all solutions for the "genf" puzzle

document: http://www.ifcomputer.co.jp/MINERVA/ExamplePrograms/MinervaFeatures/Constraints/print_de.html
published 2008/10/6 update 2002/3/20 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS