wiki:SpecialGA

Notes for fixed ff0 GA runs

  • Currently triggered if population size is 127
    • could later implement in a user friendly way
  • Currently only active on alamo, bcf, lonestar & ranger clusters.
  • requires std GA distro, with the following caveats:
    • the ff0 range will be those for the first bucket
    • initial testing indicates it may be beneficial to create additional slices or room in the s slices to compensate for the lack of variability in ff0
  • simple per script to create a gadistro.dat file (copy & paste if needed):
    #!/usr/bin/perl
    
    $parts = shift;
    $smin = shift;
    $smax = shift;
    $ff0min = shift;
    $ff0max = shift
        || die
        "usage: $0 pieces smin smax ff0min ff0max\n";
    
    $delta = sprintf("%.2f", ($smax - $smin) / ($parts - 1));
    
    print "$parts\n";
    for ( $i = 0; $i < $parts; $i++ )
    {
        printf("%.2f, %.2f, %.2f, %.2f\n",
               $smin + $i * $delta,
               $smin + ($i + 1) * $delta - .01,
               $ff0min,
               $ff0max
               );
    }
    
Last modified 7 years ago Last modified on May 13, 2011 6:42:18 PM