ExamplesJaCoP
Class ArchFriends

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

public class ArchFriends
extends Example

It is a simple logic puzzle about shoe purchases.

Author:
Adam Plonka, Piotr Ogrodzki, and Radoslaw Szymanek Logic Puzzle Title : Arch Friends Author : Mark T. Zegarelli Publication : Dell Logic Puzzles Issue : April, 1998 Page : 7 Stars : 1 Description : Harriet, upon returning from the mall, is happily describing her four shoe purchases to her friend Aurora. Aurora just loves the four different kinds of shoes that Harriet bought (ecru espadrilles, fuchsia flats, purple pumps, and suede sandals), but Harriet can't recall at which different store (Foot Farm, Heels in a Handcart, The Shoe Palace, or Tootsies) she got each pair. Can you help these two figure out the order in which Harriet bought each pair of shoes, and where she bought each?

Field Summary
 
Fields inherited from class ExamplesJaCoP.Example
cost, search, store, vars
 
Constructor Summary
ArchFriends()
           
 
Method Summary
static void main(java.lang.String[] args)
          It executes the program to solve the logic puzzle.
 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

ArchFriends

public ArchFriends()
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 the logic puzzle.

Parameters:
args - no arguments are read.