com.asdf.utils
Class ChipSpreader

java.lang.Object
  extended by com.asdf.utils.ChipSpreader

public class ChipSpreader
extends java.lang.Object

ChipSpreader distributes chips on a 2-dimentional normal distribution and generates the appropriate amount of such chips.


Constructor Summary
ChipSpreader()
           
 
Method Summary
static Distribution distribute(double money)
          Distributes an amount of $$ to some number of chips on the table before the player.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChipSpreader

public ChipSpreader()
Method Detail

distribute

public static Distribution distribute(double money)
Distributes an amount of $$ to some number of chips on the table before the player.

Parameters:
money - Amount of money to be distributed.
Returns:
A sorted distribution of the chips.