/*
 * Java Genetic Algorithm Library (@__identifier__@).
 * Copyright (c) @__year__@ Franz Wilhelmstötter
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Author:
 *    Franz Wilhelmstötter (franz.wilhelmstoetter@gmx.at)
 */
package org.jenetics.util;

/**
 * @author <a href="mailto:franz.wilhelmstoetter@gmx.at">Franz Wilhelmstötter</a>
 * @since @__version__@
 * @version @__version__@ &mdash; <em>$Date: 2013-12-19 $</em>
 */
public interface ParallelRandom {

	/**
	 * Changes the internal state of the PRNG in a way that future calls to
	 * {@link #nextLong()} will generated the s<sup>th</sup> sub-stream of
	 * p<sup>th</sup> sub-streams. <i>s</i> must be within the range of
	 * {@code [0, p-1)}. This method is mainly used for <i>parallelization</i>
	 * via <i>leap-frogging</i>.
	 *
	 * @param p the overall number of sub-streams
	 * @param s the s<sup>th</sup> sub-stream
	 * @throws IllegalArgumentException if {@code p < 1 || s >= p}.
	 */
	public void split(final int p, final int s);
	
	/**
	 * Changes the internal state of the PRNG in such a way that the engine
	 * <i>jumps</i> 2<sup>s</sup> steps ahead.
	 *
	 * @param s the 2<sup>s</sup> steps to jump ahead.
	 * @throws IllegalArgumentException if {@code s < 0}.
	 */
	public void jump2(final int s);
	
	/**
	 * Changes the internal state of the PRNG in such a way that the engine
	 * <i>jumps</i> s steps ahead.
	 *
	 * @param step the steps to jump ahead.
	 * @throws IllegalArgumentException if {@code s < 0}.
	 */
	public void jump(final long step);
	
}

@@ -924,14 +924,14 @@
  201
-3-12-1
+4-01-0
 9 $%3C
@@ -1501,34 +1501,33 @@
 , final int s);%0A
-%09
 %0A
+
 %09/**%0A%09 * Changes
@@ -1781,18 +1781,17 @@
 int s);%0A
-%09
 %0A
+
 %09/**%0A%09 *
@@ -2033,12 +2033,869 @@
  step);%0A
-%09
+%0A%09/*%0A%09 * Duplicate the java.util.Random interface.%0A%09 */%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#setSeed(long)%7D%0A%09 */%0A%09public void setSeed(final long seed);%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextBytes(byte%5B%5D)%7D%0A%09 */%0A%09public void nextBytes(final byte%5B%5D bytes);%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextInt()%7D%0A%09 */%0A%09public int nextInt();%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextInt(int)%7D%0A%09 */%0A%09public int nextInt(int n);%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextLong()%7D%0A%09 */%0A%09public long nextLong();%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextBoolean()%7D%0A%09 */%0A%09public boolean nextBoolean();%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextFloat()%7D%0A%09 */%0A%09public float nextFloat();%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextDouble()%7D%0A%09 */%0A%09public double nextDouble();%0A%0A%09/**%0A%09 * @see %7B@link java.util.Random#nextGaussian()%7D%0A%09 */%0A%09public double nextGaussian();%0A
 %0A%7D%0A

Add (interface) methods of java.util.Random class.