public class AtomicThresholdRandomGenerator extends ThresholdRandomTraceGenerator<AtomicEvent>
| Modifier and Type | Field and Description |
|---|---|
protected AtomicEvent[] |
m_alphabet
The alphabet to pick events from
|
m_coverageThreshold, m_maxTraceLength, m_maxTracesm_random| Constructor and Description |
|---|
AtomicThresholdRandomGenerator(java.util.Random random,
CoverageMetric<AtomicEvent,java.lang.Float> metric,
int max_trace_length,
float threshold,
Alphabet<AtomicEvent> alphabet) |
| Modifier and Type | Method and Description |
|---|---|
protected AtomicEvent |
nextEvent(java.util.Random random)
Generates a new event randomly
|
generateTracesprotected AtomicEvent[] m_alphabet
public AtomicThresholdRandomGenerator(java.util.Random random,
CoverageMetric<AtomicEvent,java.lang.Float> metric,
int max_trace_length,
float threshold,
Alphabet<AtomicEvent> alphabet)
protected AtomicEvent nextEvent(java.util.Random random)
RandomTraceGeneratornextEvent in class RandomTraceGenerator<AtomicEvent>random - The random number generator used to generate the eventCopyright © Sylvain HallĂ©. All Rights Reserved.