Class ArchFriends

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

public class ArchFriends extends ExampleFD
It is a simple logic puzzle about shoe purchases.
Version:
4.8

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?

  • Constructor Details

    • ArchFriends

      public ArchFriends()
  • 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 the logic puzzle.
      Parameters:
      args - no arguments are read.