algorithmic modeling for Rhino
Hi David
I've been playing with galapagos solving a problem that requires to find the shortest path over the surface of a box. It worked after tweaking the settings in galapagos but I noticed something wierd, the solution was always the same, and there should be two possible outcomes since the geometry is symmetrical.
I had an integer slider to choose between four possibilities (0 to 3). I noticed that galapagos failed to try the last index of the integer slider in the first run, actually it did but much much less than the other possibilities... I had to trick it to make it work properly. I created a floating point slider from -0.5 to 3.499 and then add an expression to round it.
Seems like a bug to me. Statistically, in the first generation, I would expect galapagos to equally try the four possiblities of an integer slider between 0 and 3, but it doesn't.
bye
Tags:
Hi Frane,
yeah looks like a bug.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Hi, does anyone have info on how to deal with this? I assume that using floating points and rounding is significantly less efficient than a proper integer representation, but I can't seem to do any better than the rounding implementation in Frane's original post.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by