Interface RndMonitor
- All Known Implementing Classes:
AbstractRndMonitor
,BunchMonitor
,ByteFreqMonitor
,PopCntMonitor
,UniqRunMonitor
public interface RndMonitor
Monitor whether or not a random number sequence satisfies statistical criteria.
-
Method Summary
-
Method Details
-
reset
void reset()Reset statistical status. -
probe
boolean probe(int iVal) Probe new random value.The statistical state of the past random sequence is recalculated.
Once the statistical condition is met, it must continue to return true until
reset()
is called.- Parameters:
iVal
- new random value- Returns:
- true if met statistical condition
-
hasMet
boolean hasMet()Inspect statistical condition.Must return false immediately after constructor and
reset()
calls.Once
probe(int)
returns true, must continue to return true untilreset()
called.- Returns:
- true if met statistical condition.
-