Jacson

de.spieleck.app.turn.pairing
Class MixingPairing

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

public class MixingPairing
extends BasePairing

A pairing mode which considers mixing players and placing close ranked players together.

$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/pairing/MixingPairing.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
MixingPairing()
           
 
Method Summary
protected  void bestFit(int[] counts, GameImpl[] res, de.spieleck.app.turn.pairing.MixingPairing.WrappedPlayer py)
           
protected  double dist(de.spieleck.app.turn.pairing.MixingPairing.WrappedPlayer py, GameImpl game)
           
 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

MixingPairing

public MixingPairing()
Method Detail

pairing

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

bestFit

protected void bestFit(int[] counts,
                       GameImpl[] res,
                       de.spieleck.app.turn.pairing.MixingPairing.WrappedPlayer py)

dist

protected double dist(de.spieleck.app.turn.pairing.MixingPairing.WrappedPlayer py,
                      GameImpl game)

toString

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

spieleck.de