Talk:Sailors, coconuts and a monkey problem: Difference between revisions

m
Line 132:
1596 319
1276 255
10101020 204
</pre>
::So in spite of stopping and starting I find the solution with 8 candidates. Which is certainly more calculated than the Python candidate selection which would better be described as brainless. As with all good AI programs on classical computers it is possible to ask the program to explain its reasoning, the output for the 100 case is [[Sailors, coconuts and a monkey problem/Ruby output 100 honest sailors]]. As you can see it selects 4950 candidates to find the solution for 100 sailors, less than the Python solution uses for 5 sailors.
2,172

edits