Find Jobs
Hire Freelancers

C++ program for Football prediction using constructors, classes and problem analysis

$10-30 USD

已完成
已发布超过 10 年前

$10-30 USD

货到付款
Program Requirements You are to read in 3 input files. These files were built using data from the website: [login to view URL] a team name file. This file contains the 32 names of the NFL teams. a games played file. This file contains records for the games played to date in the 2013 season. Note: this file will be updated and replaced later in the season. a one week schedule file. This file contains a list of games scheduled for one week of the 2013 NFL season. Note: this file will be updated and replaced with the week 13 schedule later in the season. You are to create 3 classes for your program. NFL class. This class will hold all the data for the 32 teams. Team class. This class will hold the data for one team, including a history of 2013 games played by that team. Game class. This class will hold the data for one game played. That is, two team names and two scores. Each class must contain one or more constructor. Your solution must contain the use of one friend class or one friend function. Program Output Your program should produce two output reports. A list of team statistics report similar to the following. Note, this is sample data. The actual data will change as the season progresses. Team PF PA AvMrg MomAv ------------- --- --- ----- ----- Arizona 214 212 0.2 3.3 Atlanta 214 292 -7.8 -11.4 Baltimore 208 212 -0.4 -0.9 Buffalo 236 273 -3.4 -0.5 Carolina 214 115 11.0 11.4 Chicago 282 267 1.5 1.4 ... PF is points for. That is the total points scored by the team to date in the 2013 season. PA is points against. That is the total points given up by the team to date in the 2013 season. AvMrg is average margin. A game margin is points scored - points given up. The average margin is the average of the game margins of the games played to date in the season. MomAv is momentum average. This statistic is a weighted average in which the most recent games count more than earlier games played. It is calculated like this: Assume you are calculating the momentum average for a team that has played 5 games. The momentum average is determined using the formula, MA = ( (1/6) * game1 margin + (1/5) * game2 margin + (1/4) * game3 margin + (1/3) * game4 margin + (1/2) * game5 margin ) / ( 1/6 + 1/5 + 1/4 + 1/3 + 1/2) When you calculate the momentum average for a team that has played 10 games, it will look like this: MA = ( (1/11) * game1 margin + (1/10) * game2 margin + (1/9) * game3 margin + ... + (1/2) * game10 margin ) / ( 1/11 + 1/10 + 1/9 + ... + 1/2) A prediction report using this week 13 schedule. Your report should look similar in concept to the following. Predictions Green Bay at Detroit tie Oakland at Dallas Dallas by 4 Pittsburgh at Baltimore Baltimore by 1 Jacksonville at Cleveland Cleveland by 12 Tennessee at Indianapolis Indianapolis by 2 Chicago at Minnesota Chicago by 10 Miami at NY Jets Miami by 9 Arizona at Philadelphia Philadelphia by 2 Tampa Bay at Carolina Carolina by 14 New England at Houston New England by 16 Atlanta at Buffalo Buffalo by 8 St. Louis at San Francisco San Francisco by 5 Denver at Kansas City Denver by 3 Cincinnati at San Diego Cincinnati by 8 NY Giants at Washington NY Giants by 3 New Orleans at Seattle Seattle by 2 The prediction is determined by taking the average of the average margin and the momentum average for the two competing teams. The team with the larger average is the winner, and predicted margin is the difference between the two averages. The predicted margin must be rounded to whole numbers. A tie is predicted if the predicted margin is less than 0.5.
项目 ID: 5163244

关于此项目

5提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
A proposal has not yet been provided
$18 USD 在1天之内
5.0 (147条评论)
5.8
5.8
5威客以平均价$27 USD来参与此工作竞价
用户头像
Hello, I am C++ expert and can surely help you here with this project, Please let me know if you are interested. Thank You
$30 USD 在1天之内
4.8 (111条评论)
5.9
5.9
用户头像
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C++ and algorithm skills. I have implemented similar solutions to this problem and I know the back tracking algorithm very well. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result.
$30 USD 在0天之内
4.9 (78条评论)
5.2
5.2
用户头像
Hello. I have great experience in work with c++ for US employees. See the examples of my c++ asigments in my portfolio. Hire me and don't spend your money and time
$25 USD 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
As i am a C++ expert and have experienced in system design, so i think its easier for me to do this work
$30 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Sunnyvale, United States
5.0
22
会员自10月 16, 2013起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。