示例#1
0
 public Parameters(int size)
 {
     parameters = new double[size];
     Total = new double[size];
     for (int i = 0; i < parameters.Length; i++)
     {
         parameters[i] = 0.0;
         Total[i] = 0.0;
     }
     LossType = LossTypes.Punc;
 }
示例#2
0
 public void SetLoss(LossTypes lt)
 {
     LossType = lt;
 }