Class DonaldGeraldRobert

java.lang.Object
org.jacop.examples.fd.ExampleFD
org.jacop.examples.fd.DonaldGeraldRobert

public class DonaldGeraldRobert extends ExampleFD
It specifies the logic puzzle (cryptogram) which need to satisfy the following equation that DONALD+GERALD=ROBERT.

The solution is provided below.

Donald 526485 Gerald=====> +197485 Robert 723970

Version:
4.10
  • Constructor Details

    • DonaldGeraldRobert

      public DonaldGeraldRobert()
  • 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 cryptogram puzzle DONALD+GERALD=ROBERT.
      Parameters:
      args - no argument is used.