public PLTGenertorFactory(PartitionData PD, COLCollection _COLSet, SubSamplingAnalysisSetting subSamplingSettings, DateTime _start, TimeStyle _timestyle, LossStyle _lossstyle) { Start = _start; End = _start.AddYears(6); pData = new PartitionDataAdpator(PD, subSamplingSettings); GeneratorFactory = new GUInputGeneratorFactory(pData, _COLSet, _timestyle, _lossstyle); }
public PLTGenertorFactory(PartitionData PD, HashSet <string> _subperils, SubSamplingAnalysisSetting subSamplingSettings, DateTime _start, TimeStyle _timestyle, LossStyle _lossstyle) { Start = _start; End = _start.AddYears(6); pData = new PartitionDataAdpator(PD, subSamplingSettings); GeneratorFactory = new GUInputGeneratorFactory(pData, _subperils, _timestyle, _lossstyle); }
public VectorGUInputGeneratorFactory(PartitionData PD, HashSet <string> _subperils, TimeStyle _timestyle, LossStyle _lossstyle, bool UseAggregatedRITEs, SubSamplingAnalysisSetting subSamplingSettings) { subperils = _subperils; bool subperilsSupported = subperils.All(sp => subperilConfig.GetSubPerilList().Contains(sp)); if (!subperilsSupported) { throw new InvalidOperationException("Subperils specified cannot be supported at this time"); } pData = new PartitionDataAdpator(PD, subSamplingSettings); GeneratorFactory = new GUInputGeneratorFactory(pData, subperils, _timestyle, _lossstyle); }