Changeset 14666 for branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR/3.3/Binary/SolutionModel/Univariate
- Timestamp:
- 02/11/17 01:06:37 (8 years ago)
- Location:
- branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR/3.3/Binary/SolutionModel/Univariate/UnivariateSolutionModel.cs
r14450 r14666 110 110 111 111 public static ISolutionModel<BinaryVector> CreateWithFitnessBias(IRandom random, bool maximization, IEnumerable<BinaryVector> population, IEnumerable<double> qualities) { 112 var proportions = RandomEnumerable.PrepareProportional(qualities, true, !maximization);112 var proportions = Util.Auxiliary.PrepareProportional(qualities, true, !maximization); 113 113 var factor = 1.0 / proportions.Sum(); 114 114 double[] model = null;
Note: See TracChangeset
for help on using the changeset viewer.