org.encog.ml.hmm.alog

## Class MarkovGenerator

- java.lang.Object
- - org.encog.ml.hmm.alog.MarkovGenerator

-     public class MarkovGenerator
      extends Object

  This class is used to generate random sequences based on a Hidden Markov Model. These sequences represent the random probabilities that the HMM models.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MarkovGenerator(HiddenMarkovModel hmm)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MLSequenceSet` | `generateSequences(int observationCount, int observationLength)`
    `int` | `getCurrentState()`
    `void` | `newSequence()`
    `MLDataPair` | `observation()`
    `MLDataSet` | `observationSequence(int length)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MarkovGenerator

          public MarkovGenerator(HiddenMarkovModel hmm)

  - ### Method Detail

    - #### generateSequences

          public MLSequenceSet generateSequences(int observationCount,
                                        int observationLength)

    - #### getCurrentState

          public int getCurrentState()

    - #### newSequence

          public void newSequence()

    - #### observation

          public MLDataPair observation()

    - #### observationSequence

          public MLDataSet observationSequence(int length)

Copyright © 2014. All Rights Reserved.