public virtual void loadParams(string param)
      {
          string stemp = "";

          string[] temp = param.Split('}');

          stemp = Extention.getParamValueString(temp, "IEWEFuncType");
          switch (stemp)
          {
          case "Triangle": IEWEFuncType = TypeTermFuncEnum.Треугольник; break;

          case "Gauss": IEWEFuncType = TypeTermFuncEnum.Гауссоида; break;

          case "Parabola": IEWEFuncType = TypeTermFuncEnum.Парабола; break;

          case "Trapezium": IEWEFuncType = TypeTermFuncEnum.Трапеция; break;

          default: IEWEFuncType = TypeTermFuncEnum.Треугольник; break;
          }


          stemp = Extention.getParamValueString(temp, "IEWECountSlice");

          string[] temps = stemp.Split(',');
          count_terms = new int[temps.Count()];
          for (int i = 0; i < temps.Count(); i++)
          {
              int.TryParse(temps[i], out count_terms[i]);
          }
          IEWECountSlice = count_terms;
      }
        public void loadParams(string param)
        {
            string stemp = "";

            string[] temp = param.Split('}');

            stemp = Extention.getParamValueString(temp, "RSRConstant");
            switch (stemp)
            {
            case "Yes": RSRConstant = StableTermType.Указанный; break;

            case "No": RSRConstant = StableTermType.Случайный; break;

            default: RSRConstant = StableTermType.Указанный; break;
            }

            stemp = Extention.getParamValueString(temp, "RSRTypeFunc");
            switch (stemp)
            {
            case "Triangle": RSRTypeFunc = TypeTermFuncEnum.Треугольник; break;

            case "Gauss": RSRTypeFunc = TypeTermFuncEnum.Гауссоида; break;

            case "Parabola": RSRTypeFunc = TypeTermFuncEnum.Парабола; break;

            case "Trapezium": RSRTypeFunc = TypeTermFuncEnum.Трапеция; break;

            default: RSRTypeFunc = TypeTermFuncEnum.Треугольник; break;
            }

            RSRCountRules = Extention.getParamValueInt(temp, "RSRCountRules");
        }
Ejemplo n.º 3
0
        public override void loadParams(string param)
        {
            base.loadParams(param);

            string[] temp = param.Split('}');
            TSARCShrinkVars = Extention.getParamValueInt(temp, "TSARCShrinkVars");
            TSARCShrinkTerm = Extention.getParamValueInt(temp, "TSARCShrinkTerm");
        }
Ejemplo n.º 4
0
 public void loadParams(string param)
 {
     string[] temp = param.Split('}');
     Количество_особей = Extention.getParamValueInt(temp, "Количество_особей");
     Шаг = Extention.getParamValueInt(temp, "Шаг");
     Интервал_локального_прыжка = Extention.getParamValueInt(temp, "Интервал_локального_прыжка");
     Левая_граница_кувырка      = Extention.getParamValueInt(temp, "Левая_граница_кувырка");
     Правая_граница_кувырка     = Extention.getParamValueInt(temp, "Правая_граница_кувырка");
     Итераций_движения          = Extention.getParamValueInt(temp, "Итераций_движения");
     Итераций_прыжка            = Extention.getParamValueInt(temp, "Итераций_прыжка");
     Итераций_кувырка           = Extention.getParamValueInt(temp, "Итераций_кувырка");
 }
Ejemplo n.º 5
0
        public void loadParams(string param)
        {
            string stemp = "";

            string[] temp = param.Split('}');


            stemp = Extention.getParamValueString(temp, "IBSTypeFunc");
            switch (stemp)
            {
            case "Triangle": IBSTypeFunc = TypeTermFuncEnum.Треугольник; break;

            case "Gauss": IBSTypeFunc = TypeTermFuncEnum.Гауссоида; break;

            case "Parabola": IBSTypeFunc = TypeTermFuncEnum.Парабола; break;

            case "Trapezium": IBSTypeFunc = TypeTermFuncEnum.Трапеция; break;

            default: IBSTypeFunc = TypeTermFuncEnum.Треугольник; break;
            }
        }
Ejemplo n.º 6
0
 public void loadParams(string param)
 {
     string[] temp = param.Split('}');
     ORSCCountShrinkRules = Extention.getParamValueInt(temp, "ORSCCountShrinkRules");
 }
Ejemplo n.º 7
0
 public void loadParams(string param)
 {
     string[] temp = param.Split('}');
     TRSCCountIteration = Extention.getParamValueInt(temp, "TRSCCountIteration");
     TRSCCountparticles = Extention.getParamValueInt(temp, "TRSCCountRules");
 }
Ejemplo n.º 8
0
 public override void loadParams(string param)
 {
     base.loadParams(param);
     string[] temp = param.Split('}');
     RSCCountRules = Extention.getParamValueInt(temp, "RSCCountRules");
 }
Ejemplo n.º 9
0
        public void loadParams(string param)
        {
            string[] temp = param.Split('}');

            OTSHCCountShrinkTerm = Extention.getParamValueInt(temp, "OTSARCountShrinkTerm");
        }
Ejemplo n.º 10
0
 public void loadParams(string param)
 {
     string[] temp = param.Split('}');
     ShrinkFeature = Extention.getParamValueString(temp, "ShrinkFeatures");
 }
Ejemplo n.º 11
0
 public void loadParams(string param)
 {
     string[] temp = param.Split('}');
     ChooseFeatures = Extention.getParamValueString(temp, "ChooseFeatures");
 }