Thursday 11 April 2013

logical deduction - Reverse Puzzling


George is a great puzzler, so I was extremely surprised when he didn't immediately know the answer to a really famous puzzle. It's a puzzle that you probably did years ago, and have heard so often you can do it from memory rather than working it out. It's also not really that difficult, so I was also surprised when it appeared to be stumping him.


"Come on, surely you know this one." I said.


"I don't. And don't call me Shirley." He answered grumpily. I could tell his mood was declining rapidly, but like any great puzzler he was down and not out, and I watched his facial expression change as he reached into his mental bag of tricks. He nodded towards a conveniently located white board. "Have you got a marker for that?"


I handed him one, and he drew up the following diagram:


Reverse FCB



He stepped back, admiring his work, beaming proudly. "Well, now the solution is very obvious!" he commented.


And indeed it was.


The question for you is:



what was the puzzle?




Answer



I don't know if the puzzle has an established name, but it should be something similar to this:



A man has to get a Fox, a Chicken, and a sack of Barley across a river.

He has a rowboat, and it can only carry him and one other thing.
If the fox and the chicken are left together, the fox will eat the chicken.
If the chicken and the barley are left together, the chicken will eat the barley.
How does the man do it?



.



All nodes in the graph represent all the LEGAL states in the puzzle (where nothing can eat anything else). Each line between each pair of nodes represents a single move (i.e. the man crossing the river).



.




F represents the Fox, C represents the Chicken, B represents the Barley, * represents the man, and | represents the river.



The puzzle starts at the top left node, and the goal state is at the bottom right node.



(On second thought, the reverse could be true as well, if the man starts on the right side of the river instead.)



No comments:

Post a Comment

Understanding Stagnation point in pitot fluid

What is stagnation point in fluid mechanics. At the open end of the pitot tube the velocity of the fluid becomes zero.But that should result...