- Timestamp:
- 07/09/14 20:14:37 (10 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10504
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.VehicleRouting merged: 10504
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/BiasedMultiVRPSolutionCrossover.cs
r10929 r11167 143 143 if (checkedOperators.Count() > 0) { 144 144 // select a random operator from the checked operators 145 successor = checkedOperators.SampleProportional(random, 1, probabilities, false, false).First().Value;145 successor = checkedOperators.SampleProportional(random, 1, checkedOperators.Select(x => probabilities[x.Index]), false, false).First().Value; 146 146 } 147 147 -
stable/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Manipulators/BiasedMultiVRPSolutionManipulator.cs
r10929 r11167 144 144 // select a random operator from the checked operators 145 145 successor = 146 checkedOperators.SampleProportional(random, 1, probabilities, false, false).First().Value;146 checkedOperators.SampleProportional(random, 1, checkedOperators.Select(x => probabilities[x.Index]), false, false).First().Value; 147 147 } 148 148
Note: See TracChangeset
for help on using the changeset viewer.