swarm.random
Class PSWBgenCImpl

java.lang.Object
  |
  +--swarm.PhaseCImpl
        |
        +--swarm.random.PSWBgenCImpl

public class PSWBgenCImpl
extends PhaseCImpl
implements SimpleRandomGeneratorS, SimpleRandomGeneratorC, PSWBgenS

Subtract-with-borrow Congruential Generator with prime modulus. PSWB is an improvement on SWB in that the use of a prime modulus guarantees a single full cycle. It's slower, of course.


Fields inherited from class swarm.PhaseCImpl
nextPhase
 
Constructor Summary
PSWBgenCImpl()
           
PSWBgenCImpl(PSWBgenImpl nextPhase)
           
 
Methods implemented by this class for interface swarm.random.SimpleS
setAntithetic
 
Methods implemented by this class for interface swarm.random.SingleSeedS
setStateFromSeed
 
Methods implemented by this class for interface swarm.defobj.CreateC
createEnd
 
Methods inherited from class swarm.PhaseCImpl
_copy_creating_phase_to_using_phase
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSWBgenCImpl

public PSWBgenCImpl(PSWBgenImpl nextPhase)

PSWBgenCImpl

public PSWBgenCImpl()