ca.ualberta.cs.poker.free.tournament
Class RoundRobinSeries

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean complete()
           
 void GenerateMatches()
          Generate an arraylist of the matches that need to be run in a round-robin tournament
 java.util.ArrayList getMatches()
           
 java.lang.String getWinner()
           
 boolean load(Forge f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundRobinSeries

public RoundRobinSeries(int _numCompetitors,
                        int _numMatches,
                        int _timePerHand)
Method Detail

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