@Undocumented public abstract static class FloatClockedSignalSource.AbstractRandom extends CompilableFloatStoredSignalSource
FloatClockedSignalSource.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
getAsFloat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
adHoc, after, clock, compile, cycle, dt, during, random, random, random, randomGaussian, randomGaussian, randomGaussian, rate
abs, add, choose, choose, choose, choose, clock, compileMainSignalSource, constant, defined, delayed, delayed, delayedFeedback, delayedFeedback, divide, equal, getConstantAsFloat, getValueClass, glidingAverage, glidingStandardDeviation, glidingSum, glidingVariance, greaterOrEqual, greaterThan, guard, hasConstantAsFloat, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, notANumber, positive, power, probe, relateWith, sampleAndHold, selectAffine, series, sqrt, stored, subtract, zero, zeroCrossing, 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 CompilableFloatStoredSignalSource
Process.hasInitializationIO(eu.bandm.sig.adlib2.compile.CompilationContext)