My DiariesA Lurid Tale of Obsession, Depravity, Wits and Attempted WitMon Mar 29, 1999Ordering of Brake Controller Ratios, assuming they are ratios |
[Previous Entry ] [Thread List ] [Search ] [game logs ] [Next Entry ] [email] [Disclaimers]
<<-- Brake Balance Controller -->>Copyright © 1999,2000, the author/owner of the following ==> page <==.
Yikes, I did not expect there to be that many unique settings for brake balance. Even removing ridiculous settings and duplicates leaves a fairly large list; I am open to suggestions for better way to present it. |
F R Balance | |
1 1 15 6.2%F | |
2 1 14 6.7%F | |
3 1 13 7.1%F | |
4 1 12 7.7%F | |
5 1 11 8.3%F | |
6 1 10 9.1%F | |
7 1 9 10.0%F | |
8 1 8 11.1%F | |
9 2 15 11.8%F | |
10 1 7 12.5%F | |
11 2 14 12.5%F | |
12 2 13 13.3%F | |
13 1 6 14.3%F | |
14 2 12 14.3%F | |
15 2 11 15.4%F | |
16 1 5 16.7%F | |
17 2 10 16.7%F | |
18 3 15 16.7%F | |
19 3 14 17.6%F | |
20 2 9 18.2%F | |
21 3 13 18.8%F | |
22 1 4 20.0%F | |
23 2 8 20.0%F | |
24 3 12 20.0%F | |
25 4 15 21.1%F | |
26 3 11 21.4%F | |
27 2 7 22.2%F | |
28 4 14 22.2%F | |
29 3 10 23.1%F | |
30 4 13 23.5%F | |
31 1 3 25.0%F | |
32 2 6 25.0%F | |
33 3 9 25.0%F | |
34 4 12 25.0%F | |
35 5 15 25.0%F | |
36 5 14 26.3%F | |
37 4 11 26.7%F | |
38 3 8 27.3%F | |
39 5 13 27.8%F | |
40 2 5 28.6%F | |
41 4 10 28.6%F | |
42 6 15 28.6%F | |
43 5 12 29.4%F | |
44 3 7 30.0%F | |
45 6 14 30.0%F | |
46 4 9 30.8%F | |
47 5 11 31.3%F | |
48 6 13 31.6%F | |
49 7 15 31.8%F | |
50 1 2 33.3%F | |
51 2 4 33.3%F | |
52 3 6 33.3%F | |
53 4 8 33.3%F | |
54 5 10 33.3%F | |
55 6 12 33.3%F | |
56 7 14 33.3%F | |
57 8 15 34.8%F | |
58 7 13 35.0%F | |
59 6 11 35.3%F | |
60 5 9 35.7%F | |
61 4 7 36.4%F | |
62 8 14 36.4%F | |
63 7 12 36.8%F | |
64 3 5 37.5%F | |
65 6 10 37.5%F | |
66 9 15 37.5%F | |
67 8 13 38.1%F | |
68 5 8 38.5%F | |
69 7 11 38.9%F | |
70 9 14 39.1%F | |
71 2 3 40.0%F | |
72 4 6 40.0%F | |
73 6 9 40.0%F | |
74 8 12 40.0%F | |
75 10 15 40.0%F | |
76 9 13 40.9%F | |
77 7 10 41.2%F | |
78 5 7 41.7%F | |
79 10 14 41.7%F | |
80 8 11 42.1%F | |
81 11 15 42.3%F | |
82 3 4 42.9%F | |
83 6 8 42.9%F | |
84 9 12 42.9%F | |
85 10 13 43.5%F | |
86 7 9 43.8%F | |
87 11 14 44.0%F | |
88 4 5 44.4%F | |
89 8 10 44.4%F | |
90 12 15 44.4%F | |
91 9 11 45.0%F | |
92 5 6 45.5%F | |
93 10 12 45.5%F | |
94 11 13 45.8%F | |
95 6 7 46.2%F | |
96 12 14 46.2%F | |
97 13 15 46.4%F | |
98 7 8 46.7%F | |
99 8 9 47.1%F | |
100 9 10 47.4%F | |
101 10 11 47.6%F | |
102 11 12 47.8%F | |
103 12 13 48.0%F | |
104 13 14 48.1%F | |
105 14 15 48.3%F | |
106 1 1 50.0%F | |
107 2 2 50.0%F | |
108 3 3 50.0%F | |
109 4 4 50.0%F | |
110 5 5 50.0%F | |
111 6 6 50.0%F | |
112 7 7 50.0%F | |
113 8 8 50.0%F | |
114 9 9 50.0%F | |
115 10 10 50.0%F | |
116 11 11 50.0%F | |
117 12 12 50.0%F | |
118 13 13 50.0%F | |
119 14 14 50.0%F | |
120 15 15 50.0%F | |
121 15 14 51.7%F | |
122 14 13 51.9%F | |
123 13 12 52.0%F | |
124 12 11 52.2%F | |
125 11 10 52.4%F | |
126 10 9 52.6%F | |
127 9 8 52.9%F | |
128 8 7 53.3%F | |
129 15 13 53.6%F | |
130 7 6 53.8%F | |
131 14 12 53.8%F | |
132 13 11 54.2%F | |
133 6 5 54.5%F | |
134 12 10 54.5%F | |
135 11 9 55.0%F | |
136 5 4 55.6%F | |
137 10 8 55.6%F | |
138 15 12 55.6%F | |
139 14 11 56.0%F | |
140 9 7 56.3%F | |
141 13 10 56.5%F | |
142 4 3 57.1%F | |
143 8 6 57.1%F | |
144 12 9 57.1%F | |
145 15 11 57.7%F | |
146 11 8 57.9%F | |
147 7 5 58.3%F | |
148 14 10 58.3%F | |
149 10 7 58.8%F | |
150 13 9 59.1%F | |
151 3 2 60.0%F | |
152 6 4 60.0%F | |
153 9 6 60.0%F | |
154 12 8 60.0%F | |
155 15 10 60.0%F | |
156 14 9 60.9%F | |
157 11 7 61.1%F | |
158 8 5 61.5%F | |
159 13 8 61.9%F | |
160 5 3 62.5%F | |
161 10 6 62.5%F | |
162 15 9 62.5%F | |
163 12 7 63.2%F | |
164 7 4 63.6%F | |
165 14 8 63.6%F | |
166 9 5 64.3%F | |
167 11 6 64.7%F | |
168 13 7 65.0%F | |
169 15 8 65.2%F | |
170 2 1 66.7%F | |
171 4 2 66.7%F | |
172 6 3 66.7%F | |
173 8 4 66.7%F | |
174 10 5 66.7%F | |
175 12 6 66.7%F | |
176 14 7 66.7%F | |
177 15 7 68.2%F | |
178 13 6 68.4%F | |
179 11 5 68.8%F | |
180 9 4 69.2%F | |
181 7 3 70.0%F | |
182 14 6 70.0%F | |
183 12 5 70.6%F | |
184 5 2 71.4%F | |
185 10 4 71.4%F | |
186 15 6 71.4%F | |
187 13 5 72.2%F | |
188 8 3 72.7%F | |
189 11 4 73.3%F | |
190 14 5 73.7%F | |
191 3 1 75.0%F | |
192 6 2 75.0%F | |
193 9 3 75.0%F | |
194 12 4 75.0%F | |
195 15 5 75.0%F | |
196 13 4 76.5%F | |
197 10 3 76.9%F | |
198 7 2 77.8%F | |
199 14 4 77.8%F | |
200 11 3 78.6%F | |
201 15 4 78.9%F | |
202 4 1 80.0%F | |
203 8 2 80.0%F | |
204 12 3 80.0%F | |
205 13 3 81.3%F | |
206 9 2 81.8%F | |
207 14 3 82.4%F | |
208 5 1 83.3%F | |
209 10 2 83.3%F | |
210 15 3 83.3%F | |
211 11 2 84.6%F | |
212 6 1 85.7%F | |
213 12 2 85.7%F | |
214 13 2 86.7%F | |
215 7 1 87.5%F | |
216 14 2 87.5%F | |
217 15 2 88.2%F | |
218 8 1 88.9%F | |
219 9 1 90.0%F | |
220 10 1 90.9%F | |
221 11 1 91.7%F | |
222 12 1 92.3%F | |
223 13 1 92.9%F | |
224 14 1 93.3%F | |
225 15 1 93.8%F | |
143 unique ratios |
Here's the program... |
#!/xhbin/perl5 -w # # special cmp routine for sort... # $a and $b are magic for perl sort "routines" # sub ratcmp { local($r1) = $rats[$a]; local($r2) = $rats[$b]; local($cc); # # basically, compare ratios, but prefer larger front, then larger rear # $cc = ($r1 <=> $r2); if ($cc == 0) { $cc = $flist[$a] <=> $flist[$b]; if ($cc == 0) { $cc = $rlist[$a] <=> $rlist[$b]; } } return $cc; } $flist = (); $rlist = (); $rats = (); $p = (); $i = 0; for ( $f = 1; $f <= 15; ++$f) { for ($r = 1; $r <= 15; ++$r) { $p[$i] = $i; $flist[$i] = $f; $rlist[$i] = $r; $rats[$i] = $f / ($f + $r); ++$i; } } $nrats = $i; #for ($i = 0; $i < $nrats; ++$i) { # printf("%2d%3d%3d%5.1f\n", $i, $flist[$i], $rlist[$i], $rats[$i] * 100); #} @sp = sort ratcmp @p; $prev = 0; printf("%4s%4s%4s%8s\n", "","F","R","Balance"); for ($i = 0; $i < $nrats; ++$i) { $pi = $sp[$i]; printf("%4d%4d%4d%6.1f%%F\n", $i+1, $flist[$pi], $rlist[$pi], $rats[$pi] * 100); if ($rats[$pi] != $prev) { $prev = $rats[$pi]; ++$total; } } printf("\n%d unique ratios\n",$total); |
[Previous Entry ] [Thread List ] [Search ] [game logs ] [Next Entry ] [email] [Disclaimers]
Copyright © 1999,2000 the author/owner of the following ==> page <==.