public Form1() { InitializeComponent(); result = new GaSPointEdgeSet(); testGuibasAndStolfi(n); testChews(n); }
private void testGuibasAndStolfi(int n) { Random r = new Random(); points = new List<C2DPoint>(n); for (int i = 0; i < n; i++) { points.Add(new C2DPoint(r.Next(maxSize), r.Next(maxSize))); } GuibasAndStolfi GaS = new GuibasAndStolfi(points); result = GaS.Run(); }