Пример #1
0
        static void Main(string[] args)
        {
            var s   = Stopwatch.StartNew();
            CSI csi = new CSI(fake);

            csi.GenerateMfromSeidel();
            csi.GenerateMfromJacobi();
            Console.WriteLine(s.Elapsed);
        }
        public HidingTest(List <Point> points, double percentToShow)
        {
            this.allPoints = new Point[points.Count];
            points.CopyTo(allPoints);
            this.showingPoints = new List <Point>();
            this.hiddenPoints  = new List <Point>();
            this.percentToShow = percentToShow;

            RemovePartOfPoints();

            this.csi = new CSI(showingPoints);
        }