public double[] CreateRandomSolution(CreateRandomSolutionMethod generator, int index, object constraints)
 {
     return(generator(constraints));
 }
 public RandomSearch(CreateRandomSolutionMethod generator, int search_space_size = -1)
 {
     mSearchSpaceSize   = search_space_size;
     mSolutionGenerator = generator;
 }