pl.edu.agh.scalamas.random

ConcurrentRandomGeneratorComponent

trait ConcurrentRandomGeneratorComponent extends RandomGeneratorComponent

Random Generator Component that can be used in concurrent applications. Separate RNG are kept in thread locals for every accessing thread.

They are seeded from a separate, shared RNG at first access. Therefore, the results of the application can be repeatable if the thread access pattern to the RNGs are repeatable.

Self Type
ConcurrentRandomGeneratorComponent with AgentRuntimeComponent
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConcurrentRandomGeneratorComponent
  2. RandomGeneratorComponent
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object ConcurrentRandomGeneratorComponent

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def globalSeed: Long

    The global seed used in the application.

    The global seed used in the application. A common value may not guarantee repeatable results in the case of concurrent applications. A distinct value guarantees distinct results.

    Definition Classes
    RandomGeneratorComponent
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. def random: RandomGenerator

    Provide the RNG.

    Provide the RNG. Shortcut for randomData.getRandomGenerator()

    Definition Classes
    RandomGeneratorComponent
  18. def randomData: RandomDataGenerator

    Provides a RandomDataGenerator for distribution-based operations.

    Provides a RandomDataGenerator for distribution-based operations.

    Definition Classes
    ConcurrentRandomGeneratorComponentRandomGeneratorComponent
  19. def randomGeneratorFactory(seed: Long): RandomGenerator

    Factory method for creating a random generator.

    Factory method for creating a random generator. Override this to choose a different RNG algorithm.

    Definition Classes
    RandomGeneratorComponent
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RandomGeneratorComponent

Inherited from AnyRef

Inherited from Any

Ungrouped