Re: [Jprogramming] Genetic algorithms?

2015-12-21 Thread Raul Miller
Here is a "slightly more j-like" re-implementation. I presume it's approximately a "work-alike". (I say approximately because of the random aspect of its implementation): NB. solution to the Traveling Salesman Problem using a genetic algorithm NB. to find the minimum cost path through all cities.

Re: [Jprogramming] win10 edge

2015-12-21 Thread Jose Mario Quintana
Yes, I miss that somehow. Now I just have to implement a line level copy and paste (e.g., spcopy n m and sppaste n). It might not ideal but adequate enough. Thanks again On Sun, Dec 20, 2015 at 2:20 PM, Eric Iverson wrote: > You might already have what you want. That is, > >sp'' NB. equiv

Re: [Jprogramming] Genetic algorithms?

2015-12-21 Thread Raul Miller
Typo - last minute name change - the unused reference to nextchild, at the end, should have been nextchildren=. nextchildren + 2 Thanks, -- Raul On Mon, Dec 21, 2015 at 8:13 AM, Raul Miller wrote: > Here is a "slightly more j-like" re-implementation. > > I presume it's approximately a "work-

[Jprogramming] JHS update 211

2015-12-21 Thread Eric Iverson
JHS upodate 211 is now available. Primarily changes in simple projects. See nouns sphelp and spxhelp. -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] advent 20

2015-12-21 Thread David Lambert
My "all factors algorithm" isn't quite as slick as Henry's, and for part 2 I computed the presents for days one through eight-hundred thousand all at once, rather than a day at a time. I chose against testing for a finished condition. For some reason I didn't seem to get the amend in place wo

Re: [Jprogramming] Genetic algorithms?

2015-12-21 Thread Devon McCormick
Thanks, everyone, for your responses. Hopefully I'll have some time over the holidays to look at this and compare it to some sources in C# I found online. On Mon, Dec 21, 2015 at 11:25 AM, Raul Miller wrote: > Typo - last minute name change - the unused reference to nextchild, at > the end, sho