C# Class PlotMyFace.RandomProvider

Afficher le fichier Open project: ms-iot/plotmyface

Méthodes publiques

Méthode Description
FullyRandomizeLocations ( Location locations ) : void
GetRandomDestinations ( int count ) : PlotMyFace.Location[]
GetRandomValue ( int limit ) : int
MutateRandomLocations ( Location locations ) : void

Private Methods

Méthode Description
_CrossOver ( Location locations1, Location locations2, bool mutateFailedCrossovers ) : void

Method Details

FullyRandomizeLocations() public static méthode

public static FullyRandomizeLocations ( Location locations ) : void
locations Location
Résultat void

GetRandomDestinations() public static méthode

public static GetRandomDestinations ( int count ) : PlotMyFace.Location[]
count int
Résultat PlotMyFace.Location[]

GetRandomValue() public static méthode

public static GetRandomValue ( int limit ) : int
limit int
Résultat int

MutateRandomLocations() public static méthode

public static MutateRandomLocations ( Location locations ) : void
locations Location
Résultat void