C# Class Dwarrowdelf.MarkovNameGenerator

Exibir arquivo Open project: tomba/dwarrowdelf

Public Properties

Property Type Description
OrcNameSamples string[]

Public Methods

Method Description
GetNextName ( ) : string
MarkovNameGenerator ( IEnumerable sampleNames, int order, int minLength ) : System
Reset ( ) : void

Private Methods

Method Description
GetLetter ( string token ) : char

Method Details

GetNextName() public method

public GetNextName ( ) : string
return string

MarkovNameGenerator() public method

public MarkovNameGenerator ( IEnumerable sampleNames, int order, int minLength ) : System
sampleNames IEnumerable
order int
minLength int
return System

Reset() public method

public Reset ( ) : void
return void

Property Details

OrcNameSamples public_oe static_oe property

public static string[] OrcNameSamples
return string[]