Class: Distem::Events::RandomGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/distem/events/randomgenerator.rb

Direct Known Subclasses

RngStreamRandomGenerator, SimpleRandomGenerator

Instance Method Summary (collapse)

Constructor Details

- (RandomGenerator) initialize(seed)

Returns a new instance of RandomGenerator



5
6
# File 'lib/distem/events/randomgenerator.rb', line 5

def initialize(seed)
end

Instance Method Details

- (Object) advance_state(displacement)



11
12
# File 'lib/distem/events/randomgenerator.rb', line 11

def advance_state(displacement)
end

- (Object) rand_U01



8
9
# File 'lib/distem/events/randomgenerator.rb', line 8

def rand_U01
end