Class AssemblyTimeGenerator

java.lang.Object
com.assemblyrobot.simulator.core.generators.AssemblyTimeGenerator
All Implemented Interfaces:
Generator

public class AssemblyTimeGenerator
extends java.lang.Object
implements Generator
Assembly duration generator. Generates arbitrary durations for assembly (measured in seconds) during the Assembly stage based on a Normal distribution, with defaults specified by the system and alterable by the user.
  • Constructor Summary

    Constructors
    Constructor Description
    AssemblyTimeGenerator()  
  • Method Summary

    Modifier and Type Method Description
    double nextDouble()
    Gets the next random value as a Double.
    int nextInt()
    Gets the next random value as an Integer.
    long nextLong()
    Gets the next random value as a Long.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AssemblyTimeGenerator

      public AssemblyTimeGenerator()
  • Method Details

    • nextInt

      public int nextInt()
      Description copied from interface: Generator
      Gets the next random value as an Integer.
      Specified by:
      nextInt in interface Generator
      Returns:
      Integer
    • nextLong

      public long nextLong()
      Description copied from interface: Generator
      Gets the next random value as a Long.
      Specified by:
      nextLong in interface Generator
      Returns:
      Long
    • nextDouble

      public double nextDouble()
      Description copied from interface: Generator
      Gets the next random value as a Double.
      Specified by:
      nextDouble in interface Generator
      Returns:
      Double