Class Kakro


public class Kakro extends ExampleFD
It is program to solve Kakro puzzles.
Version:
4.8

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 Details

    • elements

      public IntVar[][] elements
    • noRows

      public int noRows
    • noColumns

      public int noColumns
    • rowDescription

      int[][] rowDescription
    • columnDescription

      int[][] columnDescription
  • Constructor Details

    • Kakro

      public Kakro()
  • Method Details

    • model

      public void model()
      Description copied from class: ExampleFD
      It specifies a standard way of modeling the problem.
      Specified by:
      model in class ExampleFD
    • main

      public static void main(String[] args)
      It executes the program to solve simple Kakro puzzle.
      Parameters:
      args - no parameters