Package jslx.statistics
Class SNDiagnosticExperiment.Builder
- java.lang.Object
-
- jslx.statistics.SNDiagnosticExperiment.Builder
-
- All Implemented Interfaces:
SNDiagnosticExperiment.AddFactorDataStepIfc,SNDiagnosticExperiment.BuildStepIfc
- Enclosing class:
- SNDiagnosticExperiment
public static class SNDiagnosticExperiment.Builder extends java.lang.Object implements SNDiagnosticExperiment.BuildStepIfc
A builder for creating SNDiagnosticExperiment
-
-
Constructor Summary
Constructors Constructor Description Builder(SNReplicationRunnerIfc sim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SNDiagnosticExperiment.BuildStepIfcaddFactor(java.lang.String name, int numSamples, SampleIfc sampler, double m2, double m3, double m4)SNDiagnosticExperimentbuild()
-
-
-
Constructor Detail
-
Builder
public Builder(SNReplicationRunnerIfc sim)
-
-
Method Detail
-
addFactor
public SNDiagnosticExperiment.BuildStepIfc addFactor(java.lang.String name, int numSamples, SampleIfc sampler, double m2, double m3, double m4)
- Specified by:
addFactorin interfaceSNDiagnosticExperiment.AddFactorDataStepIfc- Parameters:
name- the name of the addFactor, must not be nullnumSamples- the number of samples for the addFactor, m(l), must be GT 1sampler- the sampler, must not be nullm2- the 2nd central moment, must be GT or equal to zerom3- the 3rd central momentm4- the 2nd central moment, must be GT or equal to zero- Returns:
-
build
public SNDiagnosticExperiment build()
- Specified by:
buildin interfaceSNDiagnosticExperiment.BuildStepIfc- Returns:
- the built SNDiagnosticExperiment
-
-