Пример #1
0
 internal DistributionSampleGenerator(
     Arr <ParameterState> parameterStates,
     RankCorrelationDesign rankCorrelationDesign,
     int nSamples,
     int?seed,
     IRVisServerPool serverPool
     ) : base(parameterStates, rankCorrelationDesign, nSamples, seed, serverPool)
 {
 }
Пример #2
0
 internal HypercubeSampleGenerator(
     Arr <ParameterState> parameterStates,
     LatinHypercubeDesign latinHypercubeDesign,
     RankCorrelationDesign rankCorrelationDesign,
     int nSamples,
     int?seed,
     IRVisServerPool serverPool
     ) : base(parameterStates, rankCorrelationDesign, nSamples, seed, serverPool)
 {
     _latinHypercubeDesign = latinHypercubeDesign;
 }
Пример #3
0
 internal static _RankCorrelationDesignDTO ToDTO(this RankCorrelationDesign rankCorrelationDesign)
 {
     return(new _RankCorrelationDesignDTO
     {
         RankCorrelationDesignType = rankCorrelationDesign.RankCorrelationDesignType.ToString(),
         Correlations = rankCorrelationDesign.Correlations.ToDictionary(
             c => c.Parameter,
             c => c.Correlations.ToArray()
             )
     });
 }
Пример #4
0
        internal SampleGeneratorBase(
            Arr <ParameterState> parameterStates,
            RankCorrelationDesign rankCorrelationDesign,
            int nSamples,
            int?seed,
            IRVisServerPool serverPool
            )
        {
            RequireOrdered(parameterStates, ps => ps.Name.ToUpperInvariant());

            _parameterStates       = parameterStates;
            _rankCorrelationDesign = rankCorrelationDesign;
            _nSamples   = nSamples;
            _seed       = seed;
            _serverPool = serverPool;
        }
Пример #5
0
 internal SamplingDesign(
     DateTime createdOn,
     Arr <DesignParameter> designParameters,
     LatinHypercubeDesign latinHypercubeDesign,
     RankCorrelationDesign rankCorrelationDesign,
     int?seed,
     DataTable samples,
     Arr <int> noDataIndices
     )
 {
     CreatedOn             = createdOn;
     DesignParameters      = designParameters;
     LatinHypercubeDesign  = latinHypercubeDesign;
     RankCorrelationDesign = rankCorrelationDesign;
     Seed          = seed;
     Samples       = samples;
     NoDataIndices = noDataIndices;
 }