swarm.random
Class PSWBgenCImpl

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

public class PSWBgenCImpl
extends PhaseCImpl
implements SimpleRandomGeneratorC, SimpleRandomGeneratorS, PSWBgenS, PSWBgenC

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(PSWBgen nextPhase)
           
 
Methods implemented by this class for interface swarm.random.SimpleGeneratorC
create$setStateFromSeed
 
Methods implemented by this class for interface swarm.random.CommonGeneratorC
createWithDefaults
 
Methods implemented by this class for interface swarm.random.CommonGeneratorS
setAntithetic, setStateFromSeed
 
Methods implemented by this class for interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods implemented by this class for interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 
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(PSWBgen nextPhase)

PSWBgenCImpl

public PSWBgenCImpl()