Part of the problem is how do I send you an APL program that you can look at? The best I can do is copy out the Vector, pull it into an MSword document and hook it as an attachment (after testing to make sure it works/copied correctly).

Ralph



On Sat, 5 Apr 2008, Devon McCormick wrote:

The Vector website tells me the issue is "Selfridge, R.G., The N-Queens
Problem in One Line, Vol 10.3, 94" but this is not online.

On 4/5/08, Devon McCormick <[EMAIL PROTECTED]> wrote:

There's an essay on the J-wiki about this -
http://www.jsoftware.com/jwiki/Essays/N_Queens_Problem -  though I think
it may have a mistake: aren't there 96 solutions if one counts all the
rotations and reflections of the basic 12 (not 92 as stated in the essay)?

There's also a Dyalog solution: http://www.dyalog.dk/dfnsdws/n_queens.htm.
 I've seen the one-liner but don't recall in which issue of Vector.

On 4/5/08, Dan Bron <[EMAIL PROTECTED]> wrote:

 familiarity with the symbolism is crucial.


Absolutely (this is our common response to the "cryptic!" accusation).


And I have a one line APL function for printing out all
solutions for n queens on a board.


Send that along.  I'd like to give a shot.


-Dan

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail




--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to