public static int GetWins(this ContinuousSolution s)
 {
     if (s.HasAttribute("Wins"))
     {
         return((int)s["Wins"]);
     }
     return(0);
 }
 public static double[] GetMutationStrategy(this ContinuousSolution s)
 {
     if (s.HasAttribute("MutationStrategy"))
     {
         return(s["MutationStrategy"] as double[]);
     }
     return(null);
 }
 public static bool IsNew(this ContinuousSolution s)
 {
     if (s.HasAttribute("IsNew"))
     {
         return(Convert.ToInt32(s["IsNew"]) == 1);
     }
     else
     {
         return(false);
     }
 }