Beispiel #1
0
 public PLTGenerator(GUInputGenerator _gugenerator, DateTime _start, DateTime _end)
 {
     GUgenerator = _gugenerator;
     Start       = _start;
     End         = _end;
     PeriodRange = Start - End;
 }
Beispiel #2
0
        public VectorGUInputGenerator GetGeneratorForContract(long conID)
        {
            ExposureDataAdaptor expData     = pData.GetExposureAdaptor(conID);
            RITEmapper1         mapper      = new RITEmapper1(expData, new RAPSettings(subperils), subperilConfig);
            GUInputGenerator    guGenerator = GeneratorFactory.GetGeneratorForContract(conID);

            return(new VectorGUInputGenerator(guGenerator, mapper));
        }
Beispiel #3
0
        public void GeneratePLT()
        {
            //number of events and event numbers in the period
            List <int> eventList = GenerateEvents();

            //call GUInputGenerator
            GUInputGenerator GUGen = new GUInputGenerator(PD, conID, COLSet, timestyle, lossStyle);

            foreach (int et in eventList)
            {
                GUGen.GenerateRITELoss(et);
                PLT.PGULosses.Add(GUGen.GULosses);
            }
        }
Beispiel #4
0
        public PLTGenerator GetGeneratorForContract(ExposureDataAdaptor _expData)
        {
            GUInputGenerator guGenerator = GeneratorFactory.GetGeneratorForContract(_expData);

            return(new PLTGenerator(guGenerator, Start, End));
        }
Beispiel #5
0
        public PLTGenerator GetGeneratorForContract(long ConID)
        {
            GUInputGenerator guGenerator = GeneratorFactory.GetGeneratorForContract(ConID);

            return(new PLTGenerator(guGenerator, Start, End));
        }
Beispiel #6
0
 public VectorGUInputGenerator(GUInputGenerator inputGenerator, IRITEindexMapper _indexMapper)
 {
     GUgenerator = inputGenerator;
     indexMapper = _indexMapper;
 }