Exemple #1
0
        private static DnaDrawing GetNewInitializedDrawing(JobInfo info)
        {
            var drawing = new DnaDrawing();

            drawing.Init(info);
            return(drawing);
        }
Exemple #2
0
        private static DnaDrawing GetNewInitializedDrawing(Settings settings)
        {
            var drawing = new DnaDrawing();

            drawing.Init(settings);
            return(drawing);
        }
        private static DnaDrawing GetNewInitializedDrawing()
        {
            var drawing = new DnaDrawing();

            drawing.Init();  // HAKKAB for loobis Settings.cs-is sätestatud minimaalselt arvu Polügoone lisama
            return(drawing);
        }
Exemple #4
0
 public void Init()
 {
     Drawing = new DnaDrawing();
     Drawing.Init();
     Settings         = new Settings();
     ErrorLevel       = double.MaxValue;
     LastSavedFitness = double.MaxValue;
 }
Exemple #5
0
 public void Init()
 {
     Drawing = new DnaDrawing();
     Drawing.Init();
     Settings = new Settings();
     ErrorLevel = double.MaxValue;
     LastSavedFitness = double.MaxValue;
 }
Exemple #6
0
 public Candidate()
 {
     drawing = new DnaDrawing();
     drawing.Init();
     errorLevel = double.MaxValue;
 }