Question: Create a C++ program that does the following The simulation will include 32 different teams, 8 of which will be in a single league. The

Create a C++ program that does the following
Create a C++ program that does the following The simulation will include
32 different teams, 8 of which will be in a single league.
The season will have a number of dual meets (team vs team)

The simulation will include 32 different teams, 8 of which will be in a single league. The season will have a number of dual meets (team vs team) dates, and 3 open tournaments and 1 league tournament. The open tournaments will have no more than 2 league teams in them. The dual meet season will consist of 16 meets but during those matches, every league team MUST compete against every other league team. Wrestlers have a id number, teams have an id number as well (100, 200 through 3200) Wrestlers in team 100 would be 101, 102..etc... The total number of wrestlers will vary per team. Wrestlers also have a ability score mean = 100, std. div = 15. Each will also have a Boolean value injured" by default will be set to false. Each wrestler's weight will be determined randomly with a mean of 152 and a standard deviation of 27. Wrestlers also have a win loss record. Not only the total wins and losses but the ID numbers of those they have lost to. A wrestler's weight determines their lowest weight class they can wrestle up by 1 weight class + 1 pound from their current weight.. Ex: a wrestler weighs 129 pounds therefore the 132 weight class they are allowed to be placed in the 132, 138 but to wrestle in the 145 wt class they would have had to weigh at least 133. Current weight classes are: 106, 113, 120, 126, 132, 138, 145, 152, 160, 170, 182, 195, 220 and 285. The minimum weight for 106 is 87 pounds, for 113 the minimum is 88. A team may have multiple people for one weight class while missing someone at another. The sequence of events: Create the teams Create the schedule 4 matches then a tournament 4 matches then a second tournament 4 matches then the third tournament 4 matches then the league tournament with teams # 100 through 800. Bout resolution: Wrestler 214 vs 516 214 ability score of 105 516 has an ability score of 112 214 performs a random number with a mean of 105 std div of 15 120 516 performs a random number with a mean of 112 std div of 15 116 Wrestler 214 is victorious and the difference of 4 scores 3 team points (decision). Dual meet team scores: Win by 1 to 7 3 points Win by 8 to 14 4 points Win by 15 to 19 5 points (technical fall) Win by 20+ 6 points win by fall (pin) After the bout is over a random number 1 to 100 is generated, if it is a 1 then one wrestler is chosen randomly to be injured with a duration of 1 to 6 weeks. Tournaments: Tournament weeks 5, 10 and 15, open tournaments with random teams but no more than 2 league teams participating. 8 teams per tournament. Tournament Scoring Wrestling Simulation Development Plan 1. Objects a. Wrestlers i. Id num ii. Win record (list of id nums they have defeated) iii. Loss record (int) iv. Ability score (mean 100, std div 15) v. Weight vi. Bool injured b. Bout i. 2 wrestlers (or wrestlers pointers?) ii. Winner and Loser iii. Weight class iv. Bout number v. In tournaments: victor goes to bout loser goes to bout c. Bracket (in tournament) i. Bout B[14) ii. Int weight class d. Toumament i. Brackets K[14] ii. 8 teams iii. Team scores iv. Int id numbers: Medalists [14][3] e. Match (team vs. team) i. 14 bouts, I per weight class ii. Team scores (2) 2. Data Structures a. 32 team array b. In a team unknown number of wrestlers An array of weight classes, each weight class based on priority queue of wrestlers Injury list of wrestlers. 3. Algorithms a. Team creation utility b. Master scheduler c. Seeding algorithm for tournaments d. Match algorithm e. Tournament algorithm f. Bout algorithm g. ? ability score modifier for wrestling out of weight 4. Development Plan a. Wrestler class, random weights, id num, ability score i Create a wrestler pointers for teams to use. b. Team of wrestlers (mean -28, std div of 5) c. One bout, wrestler vs. wrestler d. Match, 14 bouts in 14 weight classes e. Tournament. f. Master scheduler done in class i. During match weeks, what team vs. what team ii. During tournament weeks, what 8 teams are in each trournament. The simulation will include 32 different teams, 8 of which will be in a single league. The season will have a number of dual meets (team vs team) dates, and 3 open tournaments and 1 league tournament. The open tournaments will have no more than 2 league teams in them. The dual meet season will consist of 16 meets but during those matches, every league team MUST compete against every other league team. Wrestlers have a id number, teams have an id number as well (100, 200 through 3200) Wrestlers in team 100 would be 101, 102..etc... The total number of wrestlers will vary per team. Wrestlers also have a ability score mean = 100, std. div = 15. Each will also have a Boolean value injured" by default will be set to false. Each wrestler's weight will be determined randomly with a mean of 152 and a standard deviation of 27. Wrestlers also have a win loss record. Not only the total wins and losses but the ID numbers of those they have lost to. A wrestler's weight determines their lowest weight class they can wrestle up by 1 weight class + 1 pound from their current weight.. Ex: a wrestler weighs 129 pounds therefore the 132 weight class they are allowed to be placed in the 132, 138 but to wrestle in the 145 wt class they would have had to weigh at least 133. Current weight classes are: 106, 113, 120, 126, 132, 138, 145, 152, 160, 170, 182, 195, 220 and 285. The minimum weight for 106 is 87 pounds, for 113 the minimum is 88. A team may have multiple people for one weight class while missing someone at another. The sequence of events: Create the teams Create the schedule 4 matches then a tournament 4 matches then a second tournament 4 matches then the third tournament 4 matches then the league tournament with teams # 100 through 800. Bout resolution: Wrestler 214 vs 516 214 ability score of 105 516 has an ability score of 112 214 performs a random number with a mean of 105 std div of 15 120 516 performs a random number with a mean of 112 std div of 15 116 Wrestler 214 is victorious and the difference of 4 scores 3 team points (decision). Dual meet team scores: Win by 1 to 7 3 points Win by 8 to 14 4 points Win by 15 to 19 5 points (technical fall) Win by 20+ 6 points win by fall (pin) After the bout is over a random number 1 to 100 is generated, if it is a 1 then one wrestler is chosen randomly to be injured with a duration of 1 to 6 weeks. Tournaments: Tournament weeks 5, 10 and 15, open tournaments with random teams but no more than 2 league teams participating. 8 teams per tournament. Tournament Scoring Wrestling Simulation Development Plan 1. Objects a. Wrestlers i. Id num ii. Win record (list of id nums they have defeated) iii. Loss record (int) iv. Ability score (mean 100, std div 15) v. Weight vi. Bool injured b. Bout i. 2 wrestlers (or wrestlers pointers?) ii. Winner and Loser iii. Weight class iv. Bout number v. In tournaments: victor goes to bout loser goes to bout c. Bracket (in tournament) i. Bout B[14) ii. Int weight class d. Toumament i. Brackets K[14] ii. 8 teams iii. Team scores iv. Int id numbers: Medalists [14][3] e. Match (team vs. team) i. 14 bouts, I per weight class ii. Team scores (2) 2. Data Structures a. 32 team array b. In a team unknown number of wrestlers An array of weight classes, each weight class based on priority queue of wrestlers Injury list of wrestlers. 3. Algorithms a. Team creation utility b. Master scheduler c. Seeding algorithm for tournaments d. Match algorithm e. Tournament algorithm f. Bout algorithm g. ? ability score modifier for wrestling out of weight 4. Development Plan a. Wrestler class, random weights, id num, ability score i Create a wrestler pointers for teams to use. b. Team of wrestlers (mean -28, std div of 5) c. One bout, wrestler vs. wrestler d. Match, 14 bouts in 14 weight classes e. Tournament. f. Master scheduler done in class i. During match weeks, what team vs. what team ii. During tournament weeks, what 8 teams are in each trournament

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!