예제 #1
0
        public override LossStateCollection GetLossState()
        {
            LossStateCollection lossCol = new LossStateCollection(1);

            lossCol.SetSubjectLosses(subjectLoss.AllLoss());
            lossCol.SetRecoverableLosses(subjectLoss.AllLoss());

            return(lossCol);
        }
예제 #2
0
 public override void SetSubjectLoss(LossTimeSeries _subjectLoss)
 {
     if (OriginalLossSet == false)
     {
         originalSubjectLoss = _subjectLoss;
         OriginalLossSet     = true;
     }
     else
     {
         subjectLoss = _subjectLoss;
         CurrentLossStateCollection.SetSubjectLosses(subjectLoss.AllLoss());
         CurrentLossStateCollection.SetRecoverableLosses(subjectLoss.AllLoss());
     }
 }