public class HMMRNG extends SimpleMC
| Constructor and Description |
|---|
HMMRNG(HMMRNG that)
Copy constructor.
|
HMMRNG(Vector PI,
Matrix A,
RandomNumberGenerator[] B)
Constructs a hidden Markov model.
|
| Modifier and Type | Method and Description |
|---|---|
HmmInnovation |
next()
Gets the next simulated innovation: state and observation.
|
double |
nextDouble()
Gets the next simulated observation.
|
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public HMMRNG(Vector PI, Matrix A, RandomNumberGenerator[] B)
PI - the initial state probabilitiesA - the state transition probabilities of the homogeneous hidden
Markov chainB - the conditional observation random number generators
(distributions)public HMMRNG(HMMRNG that)
that - a HiddenMarkovModelpublic void seed(long... seeds)
Seedablepublic double nextDouble()
nextDouble in interface RandomNumberGeneratornextDouble in class SimpleMCpublic HmmInnovation next()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.