public override LossStateCollection GetLossState() { LossStateCollection lossCol = new LossStateCollection(1); lossCol.SetSubjectLosses(subjectLoss.AllLoss()); lossCol.SetRecoverableLosses(subjectLoss.AllLoss()); return(lossCol); }
public override void SetSubjectLoss(LossTimeSeries _subjectLoss) { if (OriginalLossSet == false) { originalSubjectLoss = _subjectLoss; OriginalLossSet = true; } else { subjectLoss = _subjectLoss; CurrentLossStateCollection.SetSubjectLosses(subjectLoss.AllLoss()); CurrentLossStateCollection.SetRecoverableLosses(subjectLoss.AllLoss()); } }