| <p><strong>Attendance: Julie, Alex M., Alex P., Cade, Scott.</strong></p>
<p> </p>
<p><u><span style="font-size:14px"><strong><em>What we have done today:</em></strong></span></u><br />
(1) Fixed Concerns regarding copying the output .uan files properly so they are not overwritten. (see #8 in this elog entry: <a href="http://radiorm.physics.ohio-state.edu/elog/GENETIS/22">http://radiorm.physics.ohio-state.edu/elog/GENETIS/22</a> for details on the error). This was corrected in part E as:</p>
<blockquote>
<p><span style="font-size:10px">for i in `seq 1 $NPOP`</span></p>
<p><span style="font-size:10px">do</span></p>
<p><span style="font-size:10px"> for freq in `seq 1 60`</span></p>
<p><span style="font-size:10px"> do</span></p>
<p><span style="font-size:10px"> #Remove if plotting software doesnt need </span></p>
<p><span style="font-size:10px"> #cp data/$i.uan ${i}uan.csv </span></p>
<p><span style="font-size:10px"> cp Antenna_Performance_Metric/${i}_${freq}.uan "$WorkingDir"/Run_Outputs/$RunName/0_${i}_${freq).uan</span></p>
<p><span style="font-size:10px"> done</span></p>
<p><span style="font-size:10px">done</span></p>
</blockquote>
<p>And in the "looping part" -- ie part G we have corrected it to say the following. Note that every time we run an iteration/generation in the loop, it writes the name of the output files the exact same (individual_frequencystep.uan). It will overwrite these files in the next generation unless we move them and rename them like so. We don't want this, because we will likely want to plot the gain patterns of the individuals we like (gain pattern data is in the .uan files). </p>
<blockquote>
<p><span style="font-size:10px"> for i in `seq 1 $NPOP`</span></p>
<p><span style="font-size:10px"> do</span></p>
<p><span style="font-size:10px"> for freq in `seq 1 60`</span></p>
<p><span style="font-size:10px"> do</span></p>
<p><span style="font-size:10px"> # Gens data used to create a .csv file for the uan file for gain plotting </span></p>
<p><span style="font-size:10px"> # cp Antenna_Performance_Metric/$i.uan ${i}uan.csv </span></p>
<p><span style="font-size:10px"> cp Antenna_Performance_Metric/${i}_${freq}.uan "$WorkingDir"/Run_Outputs/$RunName/${gen}_${i}_${freq}.uan</span></p>
<p><span style="font-size:10px"> done</span></p>
<p><span style="font-size:10px"> done</span></p>
</blockquote>
<p> </p>
<p>(2) Added scale factor "A" (actually called "Scale Factor" in our bash script and fitnessFunction_ARA.cpp), and the generationDNA.csv as an input file (this file is where the radii of all individuals in the current generation live).</p>
<ul>
<li>We have added this as a variable in the fitnessFunction_ARA.cpp. It now runs as a flag pass in when it runs in the bash script. In section E:</li>
</ul>
<blockquote>
<p>./fitnessFunction.exe $NPOP $ScaleFactor $AntennaRadii/generationDNA.csv $InputFiles #Here's where we add the flags for the generation</p>
</blockquote>
<p> </p>
<p>and in the looping part (part G):</p>
<p> </p>
<blockquote>
<p><span style="font-size:10px"> </span>./fitnessFunction.exe $NPOP $ScaleFactor $AntennaRadii/generationDNA.csv $InputFiles #Here's where we add the flags for the generation</p>
</blockquote>
<p> </p>
<p>and at the top where variables are declared:</p>
<p> </p>
<blockquote>
<p><span style="font-size:10px">RunName='Julie_12_2_2' ## Replace when needed </span></p>
<p><span style="font-size:10px">TotalGens=6 ## number of generations (after initial) to run through </span></p>
<p><span style="font-size:10px">NPOP=4 ## number of individuals per generation; please keep this value below 99 </span></p>
<p><span style="font-size:10px">FREQ=60 ## frequencies being iterated over in XF (Currectly only affects the output.xmacro loop) </span></p>
<p><span style="font-size:10px">NNT=10000 ##Number of Neutrinos Thrown in AraSim </span></p>
<p><span style="font-size:10px">ScaleFactor=1.0 ##ScaleFactor used when punishing fitness scores of antennae larger than holes used in fitnessFunctoin_ARA.cpp </span></p>
</blockquote>
<p>Note that every time the roulette algorithm runs, it's written into generationDNA.csv. We copy those right before rerunning the roulette alg in the next generation -- ie cp generationDNA.csv Run_Outputs/$RunName/${gen}_generationDNA.csv -- so that each generations parameters don't get overwritten. However, the current generation's parameters live in generationDNA.csv until the roulette alg runs in the next generation, so we can read in that file to the fitnessFunction_ARA.cpp file to determine the constraint (ie R<sub>antenna</sub>) </p>
<p> </p>
<p>(4) Implemented Alex P.'s version of his optimized AraSim. This is now fully functional in the loop. </p>
<p> </p>
<p>NOTE: WE HAVE MADE A MISTAKE! WE MADE THE CONSTRAINT THE R-VALUE WE READ IN FROM THE GENERATIONDNA.CSV FILE. THIS IS NOT THE RADIUS WE THINK IT IS! WE NEED TO DO SOME TRIG ON IT TO FIX IT!!</p>
<p> </p> |