GuidoFubini has asked for the wisdom of the Perl Monks concerning the following question:
And which parameters are included as well as what the ranges are will be decided prior to running.my %params = ( x_pos => [1..10], y_pos => [-5..5], z_pos => [0..15], spin => [0, 1], neato => [1..10]);
All these loops are written by hand.foreach my $x_pos (@{$params{x_pos}}) { foreach my $y_pos (@{$params{y_pos}}) { . . . my $result = function($x_pos,$y_pos,...) . . . } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Methodically search an arbitrary space?
by Tanktalus (Canon) on May 05, 2006 at 16:46 UTC | |
by GuidoFubini (Acolyte) on May 05, 2006 at 17:09 UTC | |
|
Re: Methodically search an arbitrary space?
by ikegami (Patriarch) on May 05, 2006 at 17:07 UTC | |
|
Re: Methodically search an arbitrary space?
by explorer (Chaplain) on May 05, 2006 at 17:34 UTC |