static void Main(string[] args)
        {
            var argsNotNull = args != null;
            if (argsNotNull && args.Any(t => t == "Hw2"))
            {
                var hw2 = new Hw2();
                HowManyDistinctNgrams(hw2);
                CalculateJaccard(hw2);
                var mult = new MultiplicativeHash();
                var sb = new StringBuilder();
                for (var i = 0; i < 10; i++)
                {
                    sb.AppendLine(TrigramMinHashing(mult, hw2));
                }

                var sb2 = new StringBuilder();

                var d1d2 = TrigramMinHash(mult, hw2.D1, hw2.D2, 100);
                var d1d3 = TrigramMinHash(mult, hw2.D1, hw2.D3, 100);
                var d1d4 = TrigramMinHash(mult, hw2.D1, hw2.D4, 100);
                var d2d3 = TrigramMinHash(mult, hw2.D2, hw2.D3, 100);
                var d2d4 = TrigramMinHash(mult, hw2.D2, hw2.D4, 100);
                var d3d4 = TrigramMinHash(mult, hw2.D3, hw2.D4, 100);

                sb2.AppendLine(d1d2.ToString());
                sb2.AppendLine(d1d3.ToString());
                sb2.AppendLine(d1d4.ToString());
                sb2.AppendLine(d2d3.ToString());
                sb2.AppendLine(d2d4.ToString());
                sb2.AppendLine(d3d4.ToString());

                Console.ReadLine();
            }
            else if (argsNotNull && args.Any(t => t == "Hw3"))
            {
                var hw3 = new Hw3();
                Console.ReadLine();
            }
            else if (argsNotNull && args.Any(t => t == "Hw4"))
            {
                var hw4 = new Hw4();
                Console.ReadLine();
            }
        }
 public GraphHolder()
 {
     InitializeComponent();
     var hw3 = new Hw3();
     CreateGraph(this.zdc, hw3.LloydsGraphModel);
 }