@Undocumented public abstract static class LongClockedSignalSource.AbstractRandom extends CompilableLongStoredSignalSource
LongClockedSignalSource.AbstractRandom
Process.Proxy
Modifier and Type | Field and Description |
---|---|
protected Random |
random |
out
STREAM_CHARACTERISTICS, STREAM_SIZE
Constructor and Description |
---|
AbstractRandom(OptionalLong seed) |
Modifier and Type | Method and Description |
---|---|
Consumer<CompilationContext> |
compileInitialization()
Compiles the initialization of this entity.
|
void |
init()
Initializes the state of this process.
|
String |
toString() |
compileControlFlow, compileDataFlow, compileSetStoredValueVariable, getStoredValueVariable, publishStoredValueVariable
getAsLong
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
adHoc, after, compile, count, countdown, cycle, dt, during, ofSpliterator, ofStream, ofStream, random, random, random, spliterator, stream
abs, add, choose, choose, choose, choose, clock, compileMainSignalSource, constant, delayed, delayed, delayedFeedback, delayedFeedback, divide, equal, getConstantAsLong, getValueClass, greaterOrEqual, greaterThan, guard, hasConstantAsLong, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, positive, power, probe, relateWith, sampleAndHold, stored, subtract, zero, zipWith
compileDataFlowTo, hasDataFlowIO
afterEvery, andThen, compileAsMainProcess, every, getProcess, hasControlFlowIO, hasInitializationIO, probe, sequence, sequence, step
@Undocumented protected final Random random
@Undocumented public AbstractRandom(OptionalLong seed)
public void init()
Process
Process.step(RealtimeContext)
transitions to
the first specified observable state.
The default implementation does nothing.
public Consumer<CompilationContext> compileInitialization()
CompilableControlFlow
compileInitialization
in interface CompilableControlFlow
compileInitialization
in interface Process
compileInitialization
in class CompilableLongStoredSignalSource
Process.hasInitializationIO(eu.bandm.sig.adlib2.compile.CompilationContext)