Package org.jreliability.gui.aspect
Class SampleCollector
- java.lang.Object
-
- org.jreliability.gui.aspect.SampleCollector
-
public class SampleCollector extends java.lang.Object
TheSampleCollector
is used to generate theSamples
of a set ofReliabilityFunction
under a givenAspect
.
-
-
Constructor Summary
Constructors Constructor Description SampleCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,Samples>
getSamples(java.util.Map<java.lang.String,ReliabilityFunction> reliabilityFunctions, Aspect aspect, int number)
Returns theSamples
(with anumber
of points each) of a set ofReliabilityFunction
s under a givenAspect
.protected Samples
getSamples(ReliabilityFunction reliabilityFunction, Aspect aspect, double lower, double upper, int number)
Returnsnumber
Samples
of aReliabilityFunction
under a givenAspect
, ranging from thelower
to theupper
bound.
-
-
-
Method Detail
-
getSamples
public java.util.Map<java.lang.String,Samples> getSamples(java.util.Map<java.lang.String,ReliabilityFunction> reliabilityFunctions, Aspect aspect, int number)
Returns theSamples
(with anumber
of points each) of a set ofReliabilityFunction
s under a givenAspect
.- Parameters:
reliabilityFunctions
- the reliabilityFunctionsaspect
- the aspectnumber
- 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)
Returnsnumber
Samples
of aReliabilityFunction
under a givenAspect
, ranging from thelower
to theupper
bound.- Parameters:
reliabilityFunction
- the reliabilityFunctionaspect
- the aspectlower
- the lower boundupper
- the upper boundnumber
- the number of points per samples- Returns:
- the samples of a reliabilityFunction under an aspect ranging from lower to upper
-
-