|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
2009 Division Algorithm
So has anyone figured out this year's algorithm? I haven't taken the time to figure it out yet.
|
|
#2
|
||||
|
||||
|
Re: 2009 Division Algorithm
neither have i
it looks so random to me though :| |
|
#3
|
||||
|
||||
|
Re: 2009 Division Algorithm
It was handpicked by Sean and Dave.
LOL! |
|
#4
|
||||
|
||||
|
Re: 2009 Division Algorithm
Write the team numbers in order on 348 index cards, shuffle three or four times, then deal them into four piles.
Or you could write a program to do the same thing... ![]() |
|
#5
|
|||||
|
|||||
|
Re: 2009 Division Algorithm
they used the same random number generator we used for our autonomous drive code
(oops did I say that?) |
|
#7
|
||||
|
||||
|
Re: 2009 Division Algorithm
Being completely serious I think they just took 4 teams at a time, randomly sorted them, then moved onto the next 4 teams, etc.
|
|
#8
|
|||||
|
|||||
|
Re: 2009 Division Algorithm
It was not sorted by team number, team location or team name. I tried plotting all three to see if there was a pattern, and I didn't find one. Someone else posted that it wasn't based on registration date, based on how the last registrants are distributed.
So unless they found some other sorting mechanism, maybe based on some performance criteria such as quals ranking, it appears to be a random assignment. Random would give you strings of teams all assigned to the same division, such as 236 through 271 all being in Curie. |
|
#9
|
||||
|
||||
|
Re: 2009 Division Algorithm
On a hunch, I added together the team numbers from each division to see if there was some pattern. Perhaps the total team numbers might be the same for all divisions?
Team No. Total Archimedes: 116639 Curie: 110256 Newton: 106945 Galileo: 103721 Apparently, there seems to be no pattern. ![]() |
|
#10
|
||||
|
||||
|
Re: 2009 Division Algorithm
i still think that it was done completely randomly
im sticking by it until someone proves what they did to figure it out ![]() |
|
#11
|
||||
|
||||
|
Re: 2009 Division Algorithm
Quote:
Team No. Avg. Archimedes: 1279.42 Curie: 1074.90 Newton: 1062.10 Galileo: 1231.96 I agree there's no pattern here. Go Canada! Sorry for the bias. ![]() |
|
#12
|
|||||
|
|||||
|
Re: 2009 Division Algorithm
Bias for the win.
|
|
#13
|
|||
|
|||
|
Re: 2009 Division Algorithm
Has anyone looked at age of team? Win/Loss Record? OPR/DPR?
Based purely on team number the graph appears somewhat sinusoidal (albeit with pretty bad resolution) Of course, there is always the chance that it is random which would ruin all fun. |
|
#14
|
||||
|
||||
|
Re: 2009 Division Algorithm
Code:
private List<Team> mTeamList = new ArrayList<Team>();
private final static int sNUM_DIVISIONS = 4;
private static Timer t = new Timer("Randomizer");
private static TimerTask divTask = new TimerTask(){
Integer division = -1;
@Override
public void run(){
synchronized(division){
division = (int)(new Random(System.nanoTime()).nextDouble() * sNUM_DIVISIONS);
//Indexes the divisions from 0 to 3, which would match the ordinals of division enums
}
}
public int getDivision(){
synchronized(division){
return division;
}
}
}
static{
initTeamList(); // Populates the team list with teams who are attending Atlanta
t.schedule(divTask, 0, Math.random()*1000);
Iterator<Team> it = mTeamList.iterator();
Timer teamDivTimer = new Timer("Division Assignment");
TimerTask teamTT = new TimerTask(){
public void run(){
if(it.hasNext())
it.next().setDivision(divTask.getDivision();
else
cancel();
}
}
teamDivTimer.schedule(teamTT, 0, Math.random()*1000);
}
Last edited by JesseK : 04-09-2009 at 12:59 PM. Reason: ::doh::: forgot synchronization... |
|
#15
|
||||
|
||||
|
Re: 2009 Division Algorithm
Ok how about that, but in Lamen's terms
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shape matching algorithm | tajmadhu | Programming | 1 | 01-28-2009 08:19 AM |
| AEC Algorithm | cprogrammer | Programming | 4 | 10-03-2005 07:03 PM |
| Panning algorithm | jgannon | Programming | 6 | 03-08-2005 04:19 PM |
| Warnock´s Algorithm | sutto | Computer Graphics | 2 | 05-24-2004 02:05 PM |
| Arcsin Calculation Algorithm | Leo M | Technical Discussion | 11 | 11-05-2001 08:31 AM |