Class SampleCollector

java.lang.Object
org.jreliability.gui.aspect.SampleCollector

public class SampleCollector extends Object
The SampleCollector is used to generate the Samples of a set of ReliabilityFunction under a given Aspect.
  • Constructor Details

    • SampleCollector

      public SampleCollector()
  • Method Details

    • getSamples

      public Map<String,Samples> getSamples(Map<String,ReliabilityFunction> reliabilityFunctions, Aspect aspect, int number)
      Returns the Samples (with a number of points each) of a set of ReliabilityFunctions under a given Aspect.
      Parameters:
      reliabilityFunctions - the reliabilityFunctions
      aspect - the aspect
      number - the number of points per samples
      Returns:
      the samples of a set of reliabilityFunctions under a given aspect
    • getSamples

      protected Samples getSamples(ReliabilityFunction reliabilityFunction, Aspect aspect, double lower, double upper, int number)
      Returns number Samples of a ReliabilityFunction under a given Aspect, ranging from the lower to the upper bound.
      Parameters:
      reliabilityFunction - the reliabilityFunction
      aspect - the aspect
      lower - the lower bound
      upper - the upper bound
      number - the number of points per samples
      Returns:
      the samples of a reliabilityFunction under an aspect ranging from lower to upper