public void updateStrengthOfWins(){
  int strWins=0;
  for (int i=0; i < 12; ++i) {
    Game g=gameSchedule.get(i);
    if (g.homeTeam == this) {
      strWins+=Math.pow(60 - g.awayTeam.rankTeamPollScore,2);
    }
 else {
      strWins+=Math.pow(60 - g.homeTeam.rankTeamPollScore,2);
    }
  }
  teamStrengthOfWins=strWins / 50;
  for (  Team t : gameWinsAgainst) {
    teamStrengthOfWins+=Math.pow(t.wins,2);
  }
}

public void updateStrengthOfWins ( ) { int strWins = 0 ; for ( int i = 0 ; i < 12 ; ++ i ) { Game g = gameSchedule . get ( i ) ; if ( g . homeTeam == this ) { strWins += Math . pow ( 60 - g . awayTeam . rankTeamPollScore , 2 ) ; } else { strWins += Math . pow ( 60 - g . homeTeam . rankTeamPollScore , 2 ) ; } } teamStrengthOfWins = strWins / 50 ; for ( Team t : gameWinsAgainst ) { teamStrengthOfWins += Math . pow ( t . wins , 2 ) ; } }
updates strength of wins based on how opponents have fared .
