C# 클래스 Encog.MathUtil.Randomize.ConstRandomizer

A randomizer that will create always set the random number to a const value, used mainly for testing.
상속: BasicRandomizer
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
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