"rogers.tcl" -- Neighborhood Analysis Samples Usage: tclsh rogers.tcl /li ones -- ___9999 These options are same as for "run.tcl": /li -- tell the language ones -- tell the target Then a "--" option (the option to end all options) is required Then the filename with the log of the "run.tcl" command, like ___9999 It takes 10000 samples (edit the script to change) of 1, 2, 3, 4, and 5 mutations from the *last* individual in the log file (supposedly the one with 0 distance from the target). It prints a histogram of the integer truncation of the log_{10} of the distance of each mutant from the target, and the average distance from the target. Special case "log=0" means distance EXACTLY 0. "log=1" means distance in 1..9. "log=2" means distance is a 2 digit number, 10..99. "log=3" means distance is a 3 digit number, 100..999. etc. ////////////////////////////////////////////////////////////////////////////////////////////// Examples: $ tclsh rogers.tcl /g5 ones -- logs/thur-ones-g5-109 Mutes log=0 log=1 log=2 log=3 log=4 log=5 log=6 log=7 log=8 Avg ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- --- 1 95.94 0.00 0.00 0.02 0.21 0.05 3.77 0.00 0.00 131322.70055 2 91.62 0.00 0.01 0.04 0.46 0.17 7.69 0.00 0.00 271133.52395 3 88.20 0.00 0.00 0.08 0.76 0.27 10.70 0.00 0.00 381883.3333 4 85.03 0.00 0.00 0.07 0.81 0.30 13.78 0.00 0.00 486177.8745 5 81.48 0.00 0.01 0.11 0.92 0.43 17.05 0.00 0.00 604339.28575 $ tclsh rogers.tcl /li ones -- logs/thur-ones-li-636 Mutes log=0 log=1 log=2 log=3 log=4 log=5 log=6 log=7 log=8 Avg ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- --- 1 96.38 0.00 0.08 0.02 1.25 0.00 2.27 0.00 0.00 54537.92375 2 92.95 0.00 0.18 0.04 2.21 0.00 4.62 0.00 0.00 111974.7059 3 88.58 0.00 0.21 0.10 3.64 0.00 7.47 0.00 0.00 180356.2872 4 85.81 0.00 0.23 0.15 4.51 0.01 9.29 0.00 0.00 224165.2652 5 82.50 0.00 0.35 0.16 5.53 0.01 11.45 0.00 0.00 278915.29535 $ tclsh rogers.tcl /pl ones -- logs/thur-ones-pl-56 Mutes log=0 log=1 log=2 log=3 log=4 log=5 log=6 log=7 log=8 Avg ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- --- 1 61.30 0.00 0.00 0.00 5.90 11.70 21.10 0.00 0.00 691011.575 2 36.50 0.00 0.00 0.00 8.50 16.70 38.30 0.00 0.00 1220335.94 3 22.30 0.00 0.10 0.00 7.90 16.70 53.00 0.00 0.00 1615674.526 4 14.60 0.00 0.00 0.00 6.60 15.30 63.50 0.00 0.00 2012815.619 5 10.60 0.00 0.40 0.00 6.50 16.90 65.60 0.00 0.00 2078805.26