Jacson

de.spieleck.app.turn.pairing
Class RandomPairing

java.lang.Object
  extended by de.spieleck.app.turn.pairing.BasePairing
      extended by de.spieleck.app.turn.pairing.RandomPairing
All Implemented Interfaces:
PairingMode

public class RandomPairing
extends BasePairing

A pairing mode, randomly shuffling players. E.g. good for a first round in a tourney.

$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/pairing/RandomPairing.java $

Version:
$Revision: 2 $ $Date: 2006-03-20 14:33:27 +0100 (Mo, 20 Mrz 2006) $ $Author: nestefan $
Author:
Frank S. Nestel, $Author: nestefan $

Constructor Summary
RandomPairing()
           
 
Method Summary
 Game[] pairing(int round, PlayerRegistry pRegistry, SplittingMode sm)
           
 java.lang.String toString()
           
 
Methods inherited from class de.spieleck.app.turn.pairing.BasePairing
init, sum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomPairing

public RandomPairing()
Method Detail

pairing

public Game[] pairing(int round,
                      PlayerRegistry pRegistry,
                      SplittingMode sm)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

spieleck.de