tuffy.util
Class MathMan

java.lang.Object
  extended by tuffy.util.MathMan

public class MathMan
extends java.lang.Object


Constructor Summary
MathMan()
           
 
Method Summary
static double getLogOddsWeight(double prob)
           
static int prorate(int total, double ratio)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathMan

public MathMan()
Method Detail

prorate

public static int prorate(int total,
                          double ratio)

getLogOddsWeight

public static double getLogOddsWeight(double prob)