C# Class Accord.Statistics.Models.Markov.Topology.Ergodic

Inheritance: ITopology
Show file Open project: accord-net/framework

Public Methods

Method Description
Create ( bool logarithm, double &transitionMatrix, double &initialState ) : int

Creates the state transitions matrix and the initial state probabilities for this topology.

Ergodic ( int states ) : System

Creates a new Ergodic topology for a given number of states.

Ergodic ( int states, bool random ) : System

Creates a new Ergodic topology for a given number of states.

Method Details

Create() public method

Creates the state transitions matrix and the initial state probabilities for this topology.
public Create ( bool logarithm, double &transitionMatrix, double &initialState ) : int
logarithm bool
transitionMatrix double
initialState double
return int

Ergodic() public method

Creates a new Ergodic topology for a given number of states.
public Ergodic ( int states ) : System
states int The number of states to be used in the model.
return System

Ergodic() public method

Creates a new Ergodic topology for a given number of states.
public Ergodic ( int states, bool random ) : System
states int The number of states to be used in the model.
random bool Whether to initialize the model with random probabilities /// or uniformly with 1 / number of states. Default is false (default is /// to use 1/states).
return System