C# Class MarvellousMarkovModels.Model

ファイルを表示 Open project: martindevans/MarvellousMarkovModels

Public Methods

Method Description
Generate ( Random random ) : string
Model ( int order, float>.KeyValuePair startingStrings, float>.Dictionary productions ) : System
WeightedRandom ( Random random, float>.KeyValuePair items ) : string

Method Details

Generate() public method

public Generate ( Random random ) : string
random System.Random
return string

Model() public method

public Model ( int order, float>.KeyValuePair startingStrings, float>.Dictionary productions ) : System
order int
startingStrings float>.KeyValuePair
productions float>.Dictionary
return System

WeightedRandom() public static method

public static WeightedRandom ( Random random, float>.KeyValuePair items ) : string
random System.Random
items float>.KeyValuePair
return string