Exemple #1
0
 public Form1()
 {
     InitializeComponent();
     var watch = new Stopwatch();
     watch.Start();
     perceptron = new Perceptron(Config.CountOfRElements, Config.ACount, Config.XCount);
     InitializeGrid();
     imgHendler = new CustomImageHendler(Config.ImgFolder,
         (b, c) => new CustomImage<ClassType>(b, c));
     watch.Stop();
     this.Text = string.Format("{0} | {1}", "DarkProgramming", watch.ElapsedMilliseconds);
 }
Exemple #2
0
        public Form1()
        {
            InitializeComponent();
            var watch = new Stopwatch();

            watch.Start();
            perceptron = new Perceptron(Config.CountOfRElements, Config.ACount, Config.XCount);
            InitializeGrid();
            imgHendler = new CustomImageHendler(Config.ImgFolder,
                                                (b, c) => new CustomImage <ClassType>(b, c));
            watch.Stop();
            this.Text = string.Format("{0} | {1}", "DarkProgramming", watch.ElapsedMilliseconds);
        }