-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
- Write a method in
EventReportthat outputs a text file containing the quick alliance report of all alliances in our (team 25's) future matches. To do this, you may- Determine the "current" match number based on the scout entries
- Read from (and download if necessary and Internet is available) the match schedule CSV file
- Determine the teams on our alliance and the teams on the opposing alliance using string splitting
- Create a new
AllianceReportwith those teams and call the method to return a quick status string (this isn't finished right now, but assume it works) - Concatenate the quick status strings into one string
- Include headers indicating the match number of the two alliance predictions between each set of predictions
- Output the string to a text file called
Predictions - M<current match number> - <event key>.txt
- Write a method in
EventReportthat outputs the expected number of ranking points earned by each team in future matches- Once again, read the match schedule CSV as a string and parse through it
- For each alliance, assume that a method
getExpectedRankingPoints()exists in theAllianceReportclass that returns adouble - Add up the future ranking points for each team based on their alliances. You may want to use a
HashMapto help with this - Output a text file with the predicted ranking points, with one team on each line, followed by their expected number of RP. This list should be sorted in descending order (by predicted RP)