Skip to content
Permalink
Browse files
typo
  • Loading branch information
simonetripodi committed Aug 1, 2012
1 parent 8d9813a commit ea9630a81bff57638b269e5248167f4f45082bca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
@@ -46,7 +46,7 @@ public DefaultRankingSelector( DirectedGraph<P, GameResult> tournamentGraph )
/**
* {@inheritDoc}
*/
public KFactorBuilder<P> werePlayersAreRankedIn( PlayersRank<P> playersRank )
public KFactorBuilder<P> wherePlayersAreRankedIn( PlayersRank<P> playersRank )
{
playersRank = checkNotNull( playersRank, "ELO ranking can not be applied if players can not be ranked!" );
return new DefaultKFactorBuilder<P>( tournamentGraph, playersRank );
@@ -32,6 +32,6 @@
* @param playersRank
* @return
*/
KFactorBuilder<P> werePlayersAreRankedIn( PlayersRank<P> playersRank );
KFactorBuilder<P> wherePlayersAreRankedIn( PlayersRank<P> playersRank );

}
@@ -83,7 +83,7 @@ public void connect()

PlayersRank<String> playersRank = new SimplePlayersRank();

eloRate( tournament ).werePlayersAreRankedIn( playersRank ).withKFactor( 80 );
eloRate( tournament ).wherePlayersAreRankedIn( playersRank ).withKFactor( 80 );

System.out.println( playersRank );
}

0 comments on commit ea9630a

Please sign in to comment.