Class ErlangSampler

java.lang.Object
org.oristool.simulator.samplers.ErlangSampler
All Implemented Interfaces:
Sampler

public final class ErlangSampler extends Object implements Sampler
Sampler for Erlang random variables.
  • Constructor Details

    • ErlangSampler

      public ErlangSampler(Erlang f)
  • Method Details

    • getSample

      public BigDecimal getSample()
      Description copied from interface: Sampler
      Returns the next sample.
      Specified by:
      getSample in interface Sampler
      Returns:
      next sample