WP-34S N-Queens Benchmark Based on Patrice Torchet's BITMAP Solution
|
10-24-2014, 01:00 PM
(This post was last modified: 10-24-2014 05:33 PM by xerxes.)
Post: #24
|
|||
|
|||
RE: WP-34S N-Queens Benchmark Based on Patrice Torchet's BITMAP Solution
(10-24-2014 11:32 AM)patrice Wrote: To Xerxes: After studying a few programs from your benchmark, I see that the programs fall into 3 categories: The original program was designed to find the first solution only. Later I was forced to make a structured version, due to the lack of GOTO in some languages, but it's the same way to the solution. The fact, that the unstructured version is also able to find all solutions, is a side effect and was not intended. I've tried to comprehend your observation about category 3 using the FX-603P, but I'm not able to see what you mean exactly. The algorithm starts with putting the first queen at position 8, without the knowledge that it's not necessary to move it later for the first solution only. Even if I put the queen at position 8 and start calculating at the second queen, it doesn't change the execution time significantly. I've also tried to start the calculation with the first queen in other positions without failing, but of course different execution times. Calculator Benchmark |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)