ExamplesJaCoP
Class DonaldGeraldRobert

java.lang.Object
  extended by ExamplesJaCoP.Example
      extended by ExamplesJaCoP.DonaldGeraldRobert

public class DonaldGeraldRobert
extends Example

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

Author:
Radoslaw Szymanek

Field Summary
 
Fields inherited from class ExamplesJaCoP.Example
cost, search, store, vars
 
Constructor Summary
DonaldGeraldRobert()
           
 
Method Summary
static void main(java.lang.String[] args)
          It executes the program to solve cryptogram puzzle DONALD+GERALD=ROBERT.
 void model()
          It specifies a standard way of modeling the problem.
 
Methods inherited from class ExamplesJaCoP.Example
creditSearch, getSearch, getSearchVariables, getStore, printMatrix, search, searchAllAtOnce, searchAllOptimal, searchLDS, searchMasterSlave, searchMaxRegretOptimal, searchMiddle, searchMostConstrainedStatic, searchOptimal, searchSmallestDomain, searchSmallestMedian, searchSmallestMiddle, searchSmallestMin, searchWeightedDegree, searchWithMaxRegret, searchWithRestarts, shavingSearch
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DonaldGeraldRobert

public DonaldGeraldRobert()
Method Detail

model

public void model()
Description copied from class: Example
It specifies a standard way of modeling the problem.

Specified by:
model in class Example

main

public static void main(java.lang.String[] args)
It executes the program to solve cryptogram puzzle DONALD+GERALD=ROBERT.

Parameters:
args - no argument is used.