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

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

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.

Forward ( int states ) : System

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

Forward ( int states, bool random ) : System

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

Forward ( int states, int deepness ) : System

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

Forward ( int states, int deepness, bool random ) : System

Creates a new Forward 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

Forward() public method

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

Forward() public method

Creates a new Forward topology for a given number of states.
public Forward ( 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

Forward() public method

Creates a new Forward topology for a given number of states.
public Forward ( int states, int deepness ) : System
states int The number of states to be used in the model.
deepness int The maximum number of forward transitions allowed /// for a state. Default is to use the same as the number of states (all forward /// connections are allowed).
return System

Forward() public method

Creates a new Forward topology for a given number of states.
public Forward ( int states, int deepness, bool random ) : System
states int The number of states to be used in the model.
deepness int The maximum number of forward transitions allowed /// for a state. Default is to use the same as the number of states (all forward /// connections are allowed).
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