public static class OrderEnumerator.Utils
public static OrderEnumerator getConstant(int index)
index - The index to always returnpublic static OrderEnumerator getOrdered(int size)
size - the number of different indexes returned (between 0 and size-1)public static OrderEnumerator getShuffled(int size)
size - the number of different indexes returned (between 0 and size-1)public static OrderEnumerator getBiasAlternating(OrderEnumerator primary, OrderEnumerator secondary)
primary - The primary OrderEnumerator, one index is taken from this enumertor than an entire sequence of the secondary is takenpublic static OrderEnumerator getAlternating(OrderEnumerator primary, OrderEnumerator secondary)
primary - The primary OrderEnumeratorpublic static OrderEnumerator getZero()
public static OrderEnumerator getRestricted(OrderEnumerator toRestrict, int minimum, int range)
minimum - minmim value releasedrange - range of values released (that is values go between minimum (inclusive) and minimum+range(exclusive)public static OrderEnumerator getAdjusted(OrderEnumerator toAdjust, int adjustmentFactor)
public static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getZeroFactory()
public static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getConstantFactory(int index)
index - The index to always returnpublic static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getOrderedFactory()
public static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getShuffledFactory()
public static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getAdjustedFactory(net.maizegenetics.stats.math.OrderEnumerator.OEFactory toAdjust,
int adjustmentFactor)
adjustmentFactor - If to adjust returns x, adjusted will return x+adjustmentFactory (it's that simple)public static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getRestrictedFactory(net.maizegenetics.stats.math.OrderEnumerator.OEFactory toRestrict,
int minimum,
int range)
minimum - minmim value releasedrange - range of values released (that is values go between minimum (inclusive) and minimum+range(exclusive)public static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getAlternatingFactory(net.maizegenetics.stats.math.OrderEnumerator.OEFactory primary,
net.maizegenetics.stats.math.OrderEnumerator.OEFactory secondary)
public static net.maizegenetics.stats.math.OrderEnumerator.OEFactory getBiasAlternatingFactory(net.maizegenetics.stats.math.OrderEnumerator.OEFactory primary,
net.maizegenetics.stats.math.OrderEnumerator.OEFactory secondary)