Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            IPositionSet ps = new RandomPositionSet_Square(int.Parse(textForPointNumber.Text), 50, 500);

            LanchCHTest.lanch(chEngine, ps);
            //LanchConvexHull.lanch(new GrahamScan(), 100, 50, 500);
        }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            int i = listBox1.SelectedIndex;

            if (i >= 0)
            {
                LanchCHTest.lanch(chEngine, testCaseList.GetPositionSet(i));
            }
        }
Пример #3
0
 private void button3_Click(object sender, EventArgs e)
 {
     LanchCHTest.lanch(chEngine, testCaseList.GetPositionSetList());
 }