Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Hofstadter Metapuzzle

by MeowChow (Vicar)
on May 22, 2002 at 23:51 UTC ( #168620=note: print w/ replies, xml ) Need Help??


in reply to Re: Hofstadter Metapuzzle
in thread (OT) Hofstadter Metapuzzle

Nice work. Iterative processes are hit-or-miss with these sorts of problems, though. They depend on your initial state, can degenerate into cycles, and are not necessarily capable of producing all possible solutions. I wonder if this program can be tweaked to produce the second solution?

   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on Re: Re: Hofstadter Metapuzzle
Re^3: Hofstadter Metapuzzle
by tadman (Prior) on May 23, 2002 at 00:29 UTC
    Some puzzles like this don't settle into a steady state, leaving the logical equivalent of a "flip-flop" circuit, the classic paradoxical "This statement is false."-type problem, or two self-defeating, self-reinforcing arrangements like in the "Life" game.

    I think if you seed the initial statement differently, it might settle on a different possibility, though of course, this particular implementation uses the underscores for placement, so that will have to change.
      Sure, you can seed it with the second solution :)
         MeowChow                                   
                     s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://168620]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2015-07-01 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (22 votes), past polls