[Home]History of ZoomTargeting/MultipleChoiceIssue

Robo Home | Changes | Preferences | AllPages


Revision 5 . . September 16, 2007 18:50 EST by Skilgannon [one loop solution]
Revision 4 . . August 17, 2004 21:22 EST by Vic Stewart
  

Difference (from prior major revision) (no other diffs)

Added: 20a21,22
* I've just thought of an algorithm with 1 loop, although I'm not sure if you're around to hear it =). Basically, you calculate the bin width for the distance. Then you iterate across, adding the value of the bin on the right and subtracting the value of the bin on the left. You store the value and index of the best position, and if the current value exceeds the best value, you set bestValue = currentValue; and bestIndex = currentIndex;. I like FastBots?. =) -- Skilgannon


Changed: 49c51
Ooops... Must have missed your entry when this discussion was going on. Sorry. Anyway, I solved my problem using Kawigi's idea. Basically it's just converting the bunch to a guess factor array. In my case I also take bot width into account. --Vic
Ooops... Must have missed your entry when this discussion was going on. Sorry. Anyway, I solved my problem using Kawigi's idea. Basically it's just converting the bunch to a guess factor array. In my case I also take bot width into account. --Vic

Robo Home | Changes | Preferences | AllPages
Search: