ca.ualberta.cs.poker.free.tournament
Class RoundRobinSeries
java.lang.Object
ca.ualberta.cs.poker.free.tournament.RoundRobinSeries
- All Implemented Interfaces:
- Node
public class RoundRobinSeries
- extends java.lang.Object
- implements Node
Constructor Summary |
RoundRobinSeries(int _numCompetitors,
int _numMatches,
int _timePerHand)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoundRobinSeries
public RoundRobinSeries(int _numCompetitors,
int _numMatches,
int _timePerHand)
complete
public boolean complete()
- Specified by:
complete
in interface Node
load
public boolean load(Forge f)
- Specified by:
load
in interface Node
GenerateMatches
public void GenerateMatches()
- Generate an arraylist of the matches that need to be run in a
round-robin tournament
getMatches
public java.util.ArrayList getMatches()
getWinner
public java.lang.String getWinner()
- Specified by:
getWinner
in interface Node