Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.mathutil.randomize
Class Distort

    java.lang.Object
      org.encog.mathutil.randomize.BasicRandomizer
          org.encog.mathutil.randomize.Distort

All Implemented Interfaces:
  Randomizer

    public class Distort

extends BasicRandomizer

A randomizer that distorts what is already present in the neural network.

Author:
  jheaton

Constructor Summary
`Distort(double factor)` Construct a distort randomizer for the specified factor.

Method Summary
`double` | `randomize(double d)` Distort the random number by the factor that was specified in the constructor.

Methods inherited from class org.encog.mathutil.randomize.BasicRandomizer
`getRandom, nextDouble, nextDouble, randomize, randomize, randomize, randomize, randomize, randomize, setRandom`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Distort

    public Distort(double factor)

  Construct a distort randomizer for the specified factor.

  Parameters:
    `factor` - The randomizer factor.

Method Detail

### randomize

    public double randomize(double d)

  Distort the random number by the factor that was specified in the constructor.

  Parameters:
    `d` - The number to distort.
  Returns:
    The result.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.