C# Class MarvellousMarkovModels.Model

Afficher le fichier Open project: martindevans/MarvellousMarkovModels

Méthodes publiques

Méthode 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 méthode

public Generate ( Random random ) : string
random System.Random
Résultat string

Model() public méthode

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

WeightedRandom() public static méthode

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