Example #1
0
 public int CompareTo(Score score)
 {
     var r = Informativity - score.Informativity;
     if (r < 0)
         return -1;
     if (r > 0)
         return 1;
     return 0;
 }
Example #2
0
 static void Main()
 {
     // GGCCGGCCGGC
     // CGGCCGGCCGG
     // p = 406, n = 218, inf=33
     var inf1 = new Score(406, 218, 1024, 1024).Informativity;
     GaPlan();
     //MainPlan();
     Console.WriteLine("Ok\nPress any key to exit");
     Console.ReadKey();
 }