de.spieleck.app.turn.pairing
Class MixingPairing
java.lang.Object
de.spieleck.app.turn.pairing.BasePairing
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MixingPairing
public MixingPairing()
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