A C D G I M N P R S U 
All Classes All Packages

A

advance(long) - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
Advance or set back the rngs state.
advance(long) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
Advance or set back the rngs state.
advance(long) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
Advance or set back the rngs state.
advance(long) - Method in class com.github.kilianB.pcg.lock.RandomBaseLocked
 
advance(long) - Method in interface com.github.kilianB.pcg.Pcg
Advance or set back the rngs state.
advance(long) - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 

C

com.github.kilianB.pcg - package com.github.kilianB.pcg
 
com.github.kilianB.pcg.cas - package com.github.kilianB.pcg.cas
 
com.github.kilianB.pcg.fast - package com.github.kilianB.pcg.fast
 
com.github.kilianB.pcg.lock - package com.github.kilianB.pcg.lock
 
com.github.kilianB.pcg.sync - package com.github.kilianB.pcg.sync
 

D

distance(Pcg) - Method in interface com.github.kilianB.pcg.Pcg
Return the distance between the two generators.
distance(PcgRS) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
Calculate the distance of this generator to another RS instance.
distanceUnsafe(Pcg) - Method in interface com.github.kilianB.pcg.Pcg
Return the distance between the two generators.
distanceUnsafe(Pcg) - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 

G

getInc() - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
 
getInc() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
getInc() - Method in class com.github.kilianB.pcg.lock.RandomBaseLocked
 
getInc() - Method in interface com.github.kilianB.pcg.Pcg
Returns the internal increment of the congurential generator used by this pcg
getInc() - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 
getInt(long) - Method in class com.github.kilianB.pcg.cas.PcgRRCas
 
getInt(long) - Method in class com.github.kilianB.pcg.cas.PcgRSCas
 
getInt(long) - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
Construct a 32bit int from the given 64bit state using a permutation function.
getInt(long) - Method in class com.github.kilianB.pcg.lock.PcgRRLocked
 
getInt(long) - Method in class com.github.kilianB.pcg.lock.PcgRSLocked
 
getInt(long) - Method in class com.github.kilianB.pcg.RandomBase64
Construct a 32bit int from the given 64bit state using a permutation function.
getInt(long) - Method in class com.github.kilianB.pcg.sync.PcgRR
 
getInt(long) - Method in class com.github.kilianB.pcg.sync.PcgRS
 
getMult() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
getMult() - Method in interface com.github.kilianB.pcg.Pcg
Returns the internal multiplication of the congurential generator used by this pcg
getMult() - Method in class com.github.kilianB.pcg.RandomBase64
 
getRandomSeed() - Static method in class com.github.kilianB.pcg.fast.PcgRSFast
 
getRandomSeed() - Static method in class com.github.kilianB.pcg.RandomBase64
Return a random 64 bit seed ensuring uniqueness by using a xorshift64* shift algorithm.
getState() - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
 
getState() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
getState() - Method in class com.github.kilianB.pcg.lock.RandomBaseLocked
 
getState() - Method in interface com.github.kilianB.pcg.Pcg
Returns the internal state of the congruential generator used by this pcg
getState() - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 

I

inc - Variable in class com.github.kilianB.pcg.cas.RandomBaseCAS
Stream number of the rng.
inc - Variable in class com.github.kilianB.pcg.fast.PcgRSFast
Stream number of the rng.
inc - Variable in class com.github.kilianB.pcg.lock.RandomBaseLocked
Stream number of the rng.
inc - Variable in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
Stream number of the rng.
IncompatibleGeneratorException - Exception in com.github.kilianB.pcg
Exception thrown when random number generators interact with each other but are not in the correct state to be compared.
IncompatibleGeneratorException(String) - Constructor for exception com.github.kilianB.pcg.IncompatibleGeneratorException
 
isFast() - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
Return true if this rng is a fast instance.
isFast() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
isFast() - Method in class com.github.kilianB.pcg.lock.RandomBaseLocked
 
isFast() - Method in interface com.github.kilianB.pcg.Pcg
Return true if this rng is a fast instance.
isFast() - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 

M

MULT_64 - Static variable in class com.github.kilianB.pcg.RandomBase64
Linear congruential constant.
mult64 - Variable in class com.github.kilianB.pcg.cas.RandomBaseCAS
linear congruential constant.

N

next(int) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
next(int) - Method in interface com.github.kilianB.pcg.Pcg
Returns an integer with the next n low bits randomly set and are used as a base to deviate smaller data types.
next(int) - Method in class com.github.kilianB.pcg.RandomBase64
 
nextBoolean() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
nextBoolean() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
nextBoolean() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
nextBoolean(double) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextBoolean(double) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextBoolean(double) - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom boolean value from this random number generator's sequence with the given probability of being true.
nextBoolean(double) - Method in class com.github.kilianB.pcg.RandomBase64
 
nextByte() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextByte() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextByte() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed byte value from this random number generator's sequence.
nextByte() - Method in class com.github.kilianB.pcg.RandomBase64
 
nextBytes(byte[]) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextBytes(byte[]) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextBytes(byte[]) - Method in interface com.github.kilianB.pcg.Pcg
Generates random bytes and places them into a user-supplied byte array.
nextBytes(byte[]) - Method in class com.github.kilianB.pcg.RandomBase64
 
nextChar() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextChar() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextChar() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed char value from this random number generator's sequence.
nextChar() - Method in class com.github.kilianB.pcg.RandomBase64
 
nextDouble() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextDouble() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextDouble() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
nextDouble(boolean, boolean) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextDouble(boolean, boolean) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextDouble(boolean, boolean) - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed double value in the range from 0.0 to 1.0, possibly inclusive of 0.0 and 1.0 themselves.
nextDouble(boolean, boolean) - Method in class com.github.kilianB.pcg.RandomBase64
 
nextFloat() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextFloat() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextFloat() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed float value between 0.0 and 1.0 from this random number generator's sequence.
nextFloat(boolean, boolean) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextFloat(boolean, boolean) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextFloat(boolean, boolean) - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed float valuet in the range from 0.0f to 1.0f, possibly inclusive of 0.0f and 1.0f themselves.
nextFloat(boolean, boolean) - Method in class com.github.kilianB.pcg.RandomBase64
 
nextGaussian() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextGaussian() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextGaussian() - Method in interface com.github.kilianB.pcg.Pcg
 
nextInt() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
nextInt() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
nextInt() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
nextInt() - Method in class com.github.kilianB.pcg.RandomBase64
 
nextInt(int) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
nextInt(int) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
nextInt(int) - Method in interface com.github.kilianB.pcg.Pcg
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
nextLong() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextLong() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextLong() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
nextLong() - Method in class com.github.kilianB.pcg.RandomBase64
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
nextLong(long) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextLong(long) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextLong(long) - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
nextLong(long) - Method in class com.github.kilianB.pcg.RandomBase64
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
nextShort() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
nextShort() - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
 
nextShort() - Method in interface com.github.kilianB.pcg.Pcg
Returns the next pseudorandom, uniformly distributed short value from this random number generator's sequence.
nextShort() - Method in class com.github.kilianB.pcg.RandomBase64
 

P

Pcg - Interface in com.github.kilianB.pcg
Base interface for all PCG random generators.
PcgRR - Class in com.github.kilianB.pcg.sync
A 64 bit State PcgRNG with 32 bit output.
PcgRR() - Constructor for class com.github.kilianB.pcg.sync.PcgRR
Create a synchronized PcgRR instance seeded with with 2 longs generated by xorshift*.
PcgRR(long, long) - Constructor for class com.github.kilianB.pcg.sync.PcgRR
Create a random number generator with the given seed and stream number.
PcgRR(long, long, boolean) - Constructor for class com.github.kilianB.pcg.sync.PcgRR
Deprecated.
PcgRRCas - Class in com.github.kilianB.pcg.cas
A 64 bit State PcgRNG with 32 bit output.
PcgRRCas() - Constructor for class com.github.kilianB.pcg.cas.PcgRRCas
Create a cas synchronized PcgRR instance seeded with with 2 longs generated by xorshift*.
PcgRRCas(long, long) - Constructor for class com.github.kilianB.pcg.cas.PcgRRCas
Create a random number generator with the given seed and stream number.
PcgRRCas(long, long, boolean) - Constructor for class com.github.kilianB.pcg.cas.PcgRRCas
Deprecated.
PcgRRLocked - Class in com.github.kilianB.pcg.lock
A 64 bit State PcgRNG with 32 bit output.
PcgRRLocked() - Constructor for class com.github.kilianB.pcg.lock.PcgRRLocked
Create a synchronized PcgRR instance seeded with with 2 longs generated by xorshift*.
PcgRRLocked(long, long) - Constructor for class com.github.kilianB.pcg.lock.PcgRRLocked
Create a random number generator with the given seed and stream number.
PcgRRLocked(long, long, boolean) - Constructor for class com.github.kilianB.pcg.lock.PcgRRLocked
Deprecated.
PcgRS - Class in com.github.kilianB.pcg.sync
A 64 bit State PcgRNG with 32 bit output.
PcgRS() - Constructor for class com.github.kilianB.pcg.sync.PcgRS
Create a synchronized PcgRS instance seeded with with 2 longs generated by xorshift*.
PcgRS(long, long) - Constructor for class com.github.kilianB.pcg.sync.PcgRS
Create a random number generator with the given seed and stream number.
PcgRS(long, long, boolean) - Constructor for class com.github.kilianB.pcg.sync.PcgRS
Deprecated.
PcgRSCas - Class in com.github.kilianB.pcg.cas
A 64 bit State PcgRNG with 32 bit output.
PcgRSCas() - Constructor for class com.github.kilianB.pcg.cas.PcgRSCas
Create a cas synchronized PcgRS instance seeded with with 2 longs generated by xorshift*.
PcgRSCas(long, long) - Constructor for class com.github.kilianB.pcg.cas.PcgRSCas
Create a random number generator with the given seed and stream number.
PcgRSCas(long, long, boolean) - Constructor for class com.github.kilianB.pcg.cas.PcgRSCas
Deprecated.
PcgRSFast - Class in com.github.kilianB.pcg.fast
A 64 bit State PcgRNG with 32 bit output.
PcgRSFast() - Constructor for class com.github.kilianB.pcg.fast.PcgRSFast
Create a PcgRSFast instance seeded with with 2 longs generated by xorshift*.
PcgRSFast(long, long) - Constructor for class com.github.kilianB.pcg.fast.PcgRSFast
Create a random number generator with the given seed and stream number.
PcgRSFast(long, long, boolean) - Constructor for class com.github.kilianB.pcg.fast.PcgRSFast
 
PcgRSLocked - Class in com.github.kilianB.pcg.lock
A 64 bit State PcgRNG with 32 bit output.
PcgRSLocked() - Constructor for class com.github.kilianB.pcg.lock.PcgRSLocked
Create a synchronized PcgRS instance seeded with with 2 longs generated by xorshift*.
PcgRSLocked(long, long) - Constructor for class com.github.kilianB.pcg.lock.PcgRSLocked
Create a random number generator with the given seed and stream number.
PcgRSLocked(long, long, boolean) - Constructor for class com.github.kilianB.pcg.lock.PcgRSLocked
Deprecated.
PcgRSUFast - Class in com.github.kilianB.pcg.fast
A 64 bit State PcgRNG with 32 bit output.

R

RandomBase64 - Class in com.github.kilianB.pcg
Base class for 64 bit state pcg random number generators with 32 bit output.
RandomBase64() - Constructor for class com.github.kilianB.pcg.RandomBase64
Seeds the generator with 2 longs generated by xorshift*.
RandomBase64(long, long) - Constructor for class com.github.kilianB.pcg.RandomBase64
Create a random number generator with the given seed and stream number.
RandomBase64(long, long, boolean) - Constructor for class com.github.kilianB.pcg.RandomBase64
Deprecated.
RandomBaseCAS - Class in com.github.kilianB.pcg.cas
Base class for 64 bit state pcg random number generators.
RandomBaseCAS() - Constructor for class com.github.kilianB.pcg.cas.RandomBaseCAS
Seeds the generator with 2 longs generated by xorshift*.
RandomBaseCAS(long, long) - Constructor for class com.github.kilianB.pcg.cas.RandomBaseCAS
Create a random number generator with the given seed and stream number.
RandomBaseCAS(long, long, boolean) - Constructor for class com.github.kilianB.pcg.cas.RandomBaseCAS
Deprecated.
RandomBaseLocked - Class in com.github.kilianB.pcg.lock
Extension of the 64 bit state 32 bit output PCG Base.
RandomBaseLocked() - Constructor for class com.github.kilianB.pcg.lock.RandomBaseLocked
 
RandomBaseLocked(long, long) - Constructor for class com.github.kilianB.pcg.lock.RandomBaseLocked
Create a random number generator with the given seed and stream number.
RandomBaseLocked(long, long, boolean) - Constructor for class com.github.kilianB.pcg.lock.RandomBaseLocked
Deprecated.
RandomBaseSynchonized - Class in com.github.kilianB.pcg.sync
Extension of the 64 bit state 32 bit output PCG Base.
RandomBaseSynchonized() - Constructor for class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 
RandomBaseSynchonized(long, long) - Constructor for class com.github.kilianB.pcg.sync.RandomBaseSynchonized
Create a random number generator with the given seed and stream number.
RandomBaseSynchonized(long, long, boolean) - Constructor for class com.github.kilianB.pcg.sync.RandomBaseSynchonized
Deprecated.

S

seed(long, long) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
Seed the rng with the given seed and stream number.
setInc(long) - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
 
setInc(long) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
setInc(long) - Method in class com.github.kilianB.pcg.lock.RandomBaseLocked
 
setInc(long) - Method in class com.github.kilianB.pcg.RandomBase64
Set the increment of the pcg.
setInc(long) - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 
setSeed(long) - Method in class com.github.kilianB.pcg.RandomBase64
Deprecated.
This method behaves differently than you would expect from the random base class.
setSeed(long, long) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
Sets the seed of this random number generator using .
setSeed(long, long) - Method in class com.github.kilianB.pcg.RandomBase64
Sets the seed of this random number generator using .
setState(long) - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
 
setState(long) - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
setState(long) - Method in class com.github.kilianB.pcg.lock.RandomBaseLocked
 
setState(long) - Method in class com.github.kilianB.pcg.RandomBase64
Set the internal state of the pcg.
setState(long) - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 
setStreamConstant(long) - Static method in class com.github.kilianB.pcg.fast.PcgRSUFast
Deprecated.
split() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
split() - Method in interface com.github.kilianB.pcg.Pcg
Splits the generator in a copy with the exact same state and stream number.
split() - Method in class com.github.kilianB.pcg.RandomBase64
 
split() - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 
splitDistinct() - Method in class com.github.kilianB.pcg.fast.PcgRSFast
 
splitDistinct() - Method in interface com.github.kilianB.pcg.Pcg
Splits the generator in a copy with distinct state and stream number.
splitDistinct() - Method in class com.github.kilianB.pcg.RandomBase64
 
splitDistinct() - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 
state - Variable in class com.github.kilianB.pcg.cas.RandomBaseCAS
64 bit internal state
state - Variable in class com.github.kilianB.pcg.fast.PcgRSFast
64 bit internal state
state - Variable in class com.github.kilianB.pcg.lock.RandomBaseLocked
64 bit internal state
state - Variable in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
64 bit internal state
stepRight() - Method in class com.github.kilianB.pcg.cas.RandomBaseCAS
Update the state of the lcg and move a step forward.
stepRight() - Method in class com.github.kilianB.pcg.lock.RandomBaseLocked
 
stepRight() - Method in class com.github.kilianB.pcg.RandomBase64
Update the state of the lcg and move a step forward.
stepRight() - Method in class com.github.kilianB.pcg.sync.RandomBaseSynchonized
 

U

UNIQUE_SEED - Static variable in interface com.github.kilianB.pcg.Pcg
Ensure that a unique seed is used for randomly seeded instances
A C D G I M N P R S U 
All Classes All Packages