static int indexOfSerial(final double[] incr, final double v) {
		int index = -1;
		for (int i = 0; i < incr.length && index == -1; ++i) {
			if (incr[i] >= v) {
				index = i;
			}
		}

		return index;
	}
Perform a serial-search on the summed probability array.
jenetics/src/main/java/io/jenetics/ProbabilitySelector.java