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 HiddenMarkovModel
public void seed(long... seeds)
Seedable
public double nextDouble()
nextDouble
in interface RandomNumberGenerator
nextDouble
in class SimpleMC
public HmmInnovation next()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.