Package org.jacop.examples.fd
Class Kakro
java.lang.Object
org.jacop.examples.fd.ExampleFD
org.jacop.examples.fd.Kakro
It is program to solve Kakro puzzles.
- Version:
- 4.9
This is a program which uses Constraint Programming to find the solution to a simple Kakro puzzle. For a moment the problem representation does not allow to model the problems with fields which are both origins of the row and column word.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int[][]
IntVar[][]
int
int
(package private) int[][]
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jacop.examples.fd.ExampleFD
creditSearch, getSearch, getSearchVariables, getStore, printMatrix, search, searchAllAtOnce, searchAllOptimal, searchLDS, searchMasterSlave, searchMaxRegretOptimal, searchMiddle, searchMostConstrainedStatic, searchOptimal, searchSmallestDomain, searchSmallestMedian, searchSmallestMiddle, searchSmallestMin, searchWeightedDegree, searchWithMaxRegret, searchWithRestarts, shavingSearch
-
Field Details
-
elements
-
noRows
public int noRows -
noColumns
public int noColumns -
rowDescription
int[][] rowDescription -
columnDescription
int[][] columnDescription
-
-
Constructor Details
-
Kakro
public Kakro()
-
-
Method Details