Class PartitionedFunctionSampler

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

public final class PartitionedFunctionSampler extends Object implements Sampler
Sampler for partitioned functions.
  • Constructor Details

    • PartitionedFunctionSampler

      public PartitionedFunctionSampler(PartitionedFunction partitionedFunction)
      Creates a new sampler.
      Parameters:
      partitionedFunction - input function
  • Method Details

    • getSample

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