C# Класс Encog.MathUtil.Randomize.ConstRandomizer

A randomizer that will create always set the random number to a const value, used mainly for testing.
Наследование: BasicRandomizer
Показать файл Открыть проект

Открытые методы

Метод Описание
ConstRandomizer ( double v )

Construct a range randomizer.

Randomize ( double d ) : double

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

Описание методов

ConstRandomizer() публичный Метод

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

Randomize() публичный Метод

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.
Результат double