C# Class Encog.MathUtil.Randomize.ConstRandomizer

A randomizer that will create always set the random number to a const value, used mainly for testing.
Inheritance: BasicRandomizer
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
ConstRandomizer ( double v )

Construct a range randomizer.

Randomize ( double d ) : double

Generate a random number based on the range specified in the constructor.

Method Details

ConstRandomizer() public méthode

Construct a range randomizer.
public ConstRandomizer ( double v )
v double The constant value.

Randomize() public méthode

Generate a random number based on the range specified in the constructor.
public Randomize ( double d ) : double
d double The range randomizer ignores this value.
Résultat double