Go to Post That is the ultimate "dream match" that I long to see. If not during the season, maybe we will see it at IRI. :) . - dlavery [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-11-2015, 23:55
Brian Maher's Avatar
Brian Maher Brian Maher is offline
Questionable Decisionmakers
FRC #2791 (Shaker Robotics), FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Troy, NY; NJ
Posts: 476
Brian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond reputeBrian Maher has a reputation beyond repute
Sorting Algorithms as a Tool for Picklisting

Today in my computer science course we learned about sorting algorithms (insertion sort, merge sort, etc). These are methods of sorting a list of values using some comparison operation (using < or >).

The whole idea of making a pick list is essentially to sort a list of teams in order of desirability. It occurred to me that these algorithms could possibly be applied to making this list. Does anyone have any experience applying a computational sorting algorithm for this, or any other thoughts on how well it would work?
__________________
2016-present, Mentor, FRC 2791 - Shaker Robotics
2016: Tech Valley SF (5236, 2791, 3624) and Quality, Finger Lakes SF (5254, 2791, 2383), Battlecry@WPI Winner (195, 2791, 501), Robot Rumble Winner (2791, 195, 6463)

2016-present, Mentor, FRC 1257 - Parallel Universe
2016: Mount Olive Winner (1257, 5624, 1676), Bridgewater-Raritan Finalist (1257, 25, 3340, 555) and GP, MAR CMP Winner (225, 341, 1257), Archimedes SF (4003, 4564, 5842, 1257), IRI Invite

2012-2015, Student, FRC 1257 - Parallel Universe
2015: Mount Olive QF (1257, 1811, 1923) and Safety Award, North Brunswick Finalist (11, 193, 1257) and Team Spirit and Safety Awards
2014: Clifton Winner (1626, 869, 1257), MAR CMP QF (1257, 293, 303)
2013: TCNJ Safety Award
2012: Mount Olive QF (204, 303, 1257)
  #2   Spotlight this post!  
Unread 20-11-2015, 00:03
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,791
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Sorting Algorithms as a Tool for Picklisting

The trick with creating a pick list isn't in sorting the teams - it's in giving each of them a numerical value. Find a way to give each team a value, then you can use whatever sorting function you want to order them. The easiest way is to just stick it in excel and let it sort them for you.

Ideally, you'd create multiple lists - using this past list as an example, you might create a list of landfill-bots, a list of human station bots, a list of bots that are good at scoring cans, a list of canburgler bots... Then figure out your strategy and what is going to benefit you the most and pick the top team off that list. Or the top team that represents a combination of two or more of those lists. It can get complicated, but the difficulty isn't in sorting the numbers.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #3   Spotlight this post!  
Unread 20-11-2015, 00:18
saikiranra's Avatar
saikiranra saikiranra is offline
UCI
AKA: Saikiran Ramanan
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Oct 2012
Rookie Year: 2011
Location: Irvine, CA
Posts: 200
saikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond repute
Re: Sorting Algorithms as a Tool for Picklisting

Generally, sorting algorithms such as merge sort, heap sort, or bogo sort, exist as a method of sorting; All of them will give you the same list at the end given the same input. The real challenge is figuring a good metric to sort by. A good mix of objective and subjective data usually gives great results, especially if sorted manually.

EDIT: Ether pointed out that different sorting algorithms may give different outputs if your data set has elements with the same key.
__________________
2014 - Current: Team 3476 Electronics, Programming, and Scouting Mentor
2011 - 2014: Team 696 Student and Drive Coach

Last edited by saikiranra : 20-11-2015 at 14:42.
  #4   Spotlight this post!  
Unread 20-11-2015, 08:50
EricDrost's Avatar
EricDrost EricDrost is offline
Eleven to MidKnight
FRC #1923 (The MidKnight Inventors)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: NJ
Posts: 256
EricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond reputeEricDrost has a reputation beyond repute
Re: Sorting Algorithms as a Tool for Picklisting

Quote:
Originally Posted by Jon Stratis View Post
The trick with creating a pick list isn't in sorting the teams - it's in giving each of them a numerical value. Find a way to give each team a value, then you can use whatever sorting function you want to order them.
Not necessarily.

There's a difference between ordinal and cardinal ranking. Ordinal means that your teams are ranked, in order. Cardinal means that your teams are ranked, in order, by a value associated with each team (points scored, OPR, etc). You don't need to know how many points each team scores to make an ordinal ranking, just which teams are better than which other teams.

For picklisting, creating an ordinal ranking is functionally identical to cardinal if you don't have to worry about whether or not you want to decline.

For elims strategizing, it's nice to know the cardinality of each team so you can sum your sort values (like average points scored) for each alliance to know what you're up against.



@OP I usually do a cardinal ranking sort for these reasons. Like Jon said, Excel works great for sorting if you have the scout data to determine the cardinality of each team.
__________________
MORT Team 11: 2008 - 2015
MKI Team 1923: 2015 - Present
  #5   Spotlight this post!  
Unread 20-11-2015, 15:51
Citrus Dad's Avatar
Citrus Dad Citrus Dad is offline
Business and Scouting Mentor
AKA: Richard McCann
FRC #1678 (Citrus Circuits)
Team Role: Mentor
 
Join Date: May 2012
Rookie Year: 2012
Location: Davis
Posts: 991
Citrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond repute
Re: Sorting Algorithms as a Tool for Picklisting

We've developed a system that 1) creates cardinal rankings for qualitative assessments of robots using the transitive property and 2) combining those qualitative rankings with quantitative rankings to generate pick lists. We have different pick lists for our 1st and 2nd picks. Some of this is covered in our scouting white papers posted on Chief Delphi. We'll be posting workshop videos in the next few weeks that cover this in more detail.
__________________
  #6   Spotlight this post!  
Unread 25-11-2015, 02:53
microbuns's Avatar
microbuns microbuns is offline
Registered User
AKA: Sam Maier
FRC #4917
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Elmira
Posts: 81
microbuns is an unknown quantity at this point
Re: Sorting Algorithms as a Tool for Picklisting

Since you are dealing with a relatively small number of teams, using a sorting algorithm won't help you speed up your sorting of your list. Humans are very good at just placing an item in the correct spot, and we are much less good at following algorithm instructions. As others have said, they hard part of pick ordering is just choosing who is better than who - not sorting them once that has taken place.
  #7   Spotlight this post!  
Unread 25-11-2015, 06:18
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,695
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Sorting Algorithms as a Tool for Picklisting

It should be worth noting that not every team's rank preference will be the same. For example in 2014, you'd want 4 potential lists - All-Around, Finishers, Trusser and Inbound/Assister's. Once your team decides what role your robot will fill, it's a matter of finding the best robot for the other roles (and sometimes splitting up other alliances).

In 2015 there could be lists for All-around, Tote stackers, stack cappers and RC grabbers. Again - it all depends on your role and what roles the robots at the events have chosen to fill. Cheesecake throws a wildcard into the whole thing though .
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #8   Spotlight this post!  
Unread 25-11-2015, 18:13
Citrus Dad's Avatar
Citrus Dad Citrus Dad is offline
Business and Scouting Mentor
AKA: Richard McCann
FRC #1678 (Citrus Circuits)
Team Role: Mentor
 
Join Date: May 2012
Rookie Year: 2012
Location: Davis
Posts: 991
Citrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond reputeCitrus Dad has a reputation beyond repute
Re: Sorting Algorithms as a Tool for Picklisting

Quote:
Originally Posted by microbuns View Post
Since you are dealing with a relatively small number of teams, using a sorting algorithm won't help you speed up your sorting of your list. Humans are very good at just placing an item in the correct spot, and we are much less good at following algorithm instructions. As others have said, they hard part of pick ordering is just choosing who is better than who - not sorting them once that has taken place.
I think the implicit question here was developing a ranking system that will provide a sorting of teams for a draft.
__________________
  #9   Spotlight this post!  
Unread 25-11-2015, 23:34
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,659
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Sorting Algorithms as a Tool for Picklisting

The bottom line (as hinted and presented several places above) is that with the small number of teams at an event (or CMP division), sorting on any reasonable number of criteria is going to be essentially instantaneous on a decent laptop. (That is, for less than 100 items to be sorted, don't sweat the "big O"; simple sort algorithms are good enough).

The key is to decide which team attributes are most important, and how they rank relative to one another. Picking according to a team rubric is a "safe" course; no one will ask why you went that way. But if your gut and your spreadsheet give you different answers, my best advice is to make sure you understand why your spreadsheet gave the answer it did, and determine for yourself whether your gut instinct is better, and if so, why. If you pick right, you'll probably be considered a prodigy or genius, but if you pick wrong, it's essential that you be able to clearly communicate to your team mates why you overrode "team wisdom".
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi