Changeset 10504 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers
- Timestamp:
- 02/25/14 10:24:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/BiasedMultiVRPSolutionCrossover.cs
r10474 r10504 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
Note: See TracChangeset
for help on using the changeset viewer.