Diff of /inst/__ga_problem_private_state__.m [6f794c] .. [48d621]  Maximize  Restore

Switch to side-by-side view

--- a/inst/__ga_problem_private_state__.m
+++ b/inst/__ga_problem_private_state__.m
@@ -18,11 +18,11 @@
 
 function private_state = __ga_problem_private_state__ (options)
   private_state.ReproductionCount.elite = options.EliteCount;
-  private_state.ReproductionCount.crossover = \
+  private_state.ReproductionCount.crossover = ...
       fix (options.CrossoverFraction *
            (options.PopulationSize - options.EliteCount));
-  private_state.ReproductionCount.mutation = \
-      options.PopulationSize - \
+  private_state.ReproductionCount.mutation = ...
+      options.PopulationSize - ...
       (private_state.ReproductionCount.elite +
        private_state.ReproductionCount.crossover);
   assert (private_state.ReproductionCount.elite +
@@ -30,18 +30,18 @@
           private_state.ReproductionCount.mutation,
           options.PopulationSize); ## DEBUG
 
-  private_state.parentsCount.crossover = \
+  private_state.parentsCount.crossover = ...
       2 * private_state.ReproductionCount.crossover;
-  private_state.parentsCount.mutation = \
+  private_state.parentsCount.mutation = ...
       1 * private_state.ReproductionCount.mutation;
-  private_state.nParents = \
-      private_state.parentsCount.crossover + \
+  private_state.nParents = ...
+      private_state.parentsCount.crossover + ...
       private_state.parentsCount.mutation;
 
-  private_state.parentsSelection.crossover = \
+  private_state.parentsSelection.crossover = ...
       1:private_state.parentsCount.crossover;
-  private_state.parentsSelection.mutation = \
-      private_state.parentsCount.crossover + \
+  private_state.parentsSelection.mutation = ...
+      private_state.parentsCount.crossover + ...
       (1:private_state.parentsCount.mutation);
   assert (length (private_state.parentsSelection.crossover) +
           length (private_state.parentsSelection.mutation),

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks