Skip to content

getNumberOfTransitions()

Return how many transitions the model has learned.

Parameters

Once an object markovmodel has been created, you can use the following function:

markovmodel.getNumberOfTransitions()

Returns

return numTransitions

Value Type Description
numTransitions int The number of transitions in the model.