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.factory
Class BasicRandomFactory

    java.lang.Object
      org.encog.mathutil.randomize.factory.BasicRandomFactory

All Implemented Interfaces:
  Serializable, RandomFactory

    public class BasicRandomFactory

extends Object
implements RandomFactory, Serializable

Basic random number generator factory. Simply returns the Random class.

See Also:
  Serialized Form

Constructor Summary
`BasicRandomFactory()` Construct a random generator factory.
`BasicRandomFactory(long theSeed)` Construct a random generator factory with the specified seed.

Method Summary
`Random` | `factor()`
`RandomFactory` | `factorFactory()`

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

Constructor Detail

### BasicRandomFactory

    public BasicRandomFactory()

  Construct a random generator factory. No assigned seed.

### BasicRandomFactory

    public BasicRandomFactory(long theSeed)

  Construct a random generator factory with the specified seed.

  Parameters:
    `theSeed` - The seed.

Method Detail

### factor

    public Random factor()

  Specified by:
    `factor` in interface `RandomFactory`
  Returns:
    Factor a new random generator.

### factorFactory

    public RandomFactory factorFactory()

  Specified by:
    `factorFactory` in interface `RandomFactory`
  Returns:
    Factor a new random generator factor.

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 © 2014. All Rights Reserved.