scaled Sd
Creates a result selector that randomly selects an element where the element index is selected with the formula:
var resultIndex = randomSd(0, list.size() - 1, 0, sdPercent * list.size())
Return
a result selector that randomly selects based on a normal distribution
Parameters
the scaled sd value to use when selecting an element (will use {@code list.size() * sdPercent}
as the actual sd parameter)
the result type
Creates a result selector that randomly selects an element where the element index is selected with the formula:
var resultIndex = randomSd(0, list.size() - 1, meanPercent * (list.size() - 1), sdPercent * list.size())
Return
a result selector that randomly selects based on a normal distribution
Parameters
the scaled sd value to use when selecting an element (will use {@code (list.size() - 1) * sdPercent}
as the actual sd parameter)
the scaled sd value to use when selecting an element (will use {@code list.size() * sdPercent}
as the actual sd parameter)
the result type