Rev Language Reference


fnAdjacentRateModifier

Usage

fnAdjacentRateModifier(Real gainFactor, Real lossFactor, Natural width, RealPos[][] matrix, Natural numStates, Natural numChars)

Arguments

gainFactor : Real (pass by const reference)
Multiplicative factor (r' = r * e^{ n_1 * f }) for characters in context set
Default : 0
lossFactor : Real (pass by const reference)
Multiplicative factor (r' = r * e^{ n_0 * f }) for characters in context set
Default : 0
width : Natural (pass by const reference)
Width of context-dependence window
Default : 1
matrix : RealPos[][] (pass by const reference)
Weighted character adjacency matrix.
Default : NULL
numStates : Natural (pass by const reference)
Number of states
numChars : Natural (pass by const reference)
Number of characters

Return Type