|
Ergodic Constructor (Int32, Boolean)
|
Creates a new Ergodic topology for a given number of states.
Namespace:
Accord.Statistics.Models.Markov.Topology
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntaxpublic Ergodic(
int states,
bool random
)
Public Sub New (
states As Integer,
random As Boolean
)
Request Example
View SourceParameters
- states
- Type: SystemInt32
The number of states to be used in the model. - random
- Type: SystemBoolean
Whether to initialize the model with random probabilities
or uniformly with 1 / number of states. Default is false (default is
to use 1/states).
See Also