pal.supgma
Class RateHandler.Utils
java.lang.Object
pal.supgma.RateHandler.Utils
- Enclosing interface:
- RateHandler
public static final class RateHandler.Utils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RateHandler.Utils
public RateHandler.Utils()
getSingleRateHandler
public static final RateHandler getSingleRateHandler()
getArbitaryIntervalCount
public static final int getArbitaryIntervalCount(double[] intervalChangeTimes,
double maxSampleTime)
- Returns:
- the number of intervals given the arbitary intervalChangeTimes (assumed to
hold no negative numbers not including zero) and the maxSampleTime
getSetRateHandler
public static final RateHandler getSetRateHandler(double rate,
int units)
getSetRateHandler
public static final RateHandler getSetRateHandler(MutationRateModel model)
getOneRatePerIntervalHandler
public static final RateHandler getOneRatePerIntervalHandler()
getArbitaryIntervalHandler
public static final RateHandler getArbitaryIntervalHandler(double[] times)