static void Main(string[] args) { Console.WriteLine("Hello World!"); QuickFindAlghoritm qf = new QuickFindAlghoritm(4); qf.PrintTable(); Console.WriteLine(qf.Connected(1, 2)); Console.WriteLine(); qf.Union(1, 2); qf.PrintTable(); Console.WriteLine(qf.Connected(1, 2)); Console.WriteLine(); qf.Union(0, 2); qf.PrintTable(); Console.WriteLine(qf.Connected(0, 1)); Console.Read(); }
public void QuickFind() { QuickFindAlghoritm qf = new QuickFindAlghoritm(4); MakeTests(qf); }