Пример #1
0
        //=======================MainMethods==========================
        #region MainMethods
        public HadamardMtxModel()
        {
            values                = new ObservableDataSource <Point>();
            subsCollection        = new SubstitutionCollection();
            batchMatrixCollection = new List <HadamardMatrix>();
            BatchResults          = new Dictionary <string, uint>();

            BitmapImage src = new BitmapImage();

            src.BeginInit();
            src.UriSource = new Uri(Directory.GetCurrentDirectory() + @"\img\no.png", UriKind.Absolute);
            src.EndInit();
            hadamardImage = src;
        }
Пример #2
0
 public GraphModel()
 {
     //SetMatrix(@"C:\Users\Dales3D\Dropbox\Егоров\genreg\20_3_3-U.scd");
     values         = new ObservableDataSource <Point>();
     subsCollection = new SubstitutionCollection();
 }