- Timestamp:
- 07/28/11 14:16:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/VRPMoveMaker.cs
r5127 r6607 74 74 75 75 string resultName = evaluatorParameter.ActualName; 76 if (!this.Parameters. Exists(p => p.Name ==resultName)) {76 if (!this.Parameters.ContainsKey(resultName)) { 77 77 ILookupParameter resultParameter = new LookupParameter<IItem>(resultName); 78 78 resultParameter.ExecutionContext = ExecutionContext; … … 82 82 83 83 string moveResultName = VRPMoveEvaluator.MovePrefix + resultName; 84 if (!this.Parameters. Exists(p => p.Name ==moveResultName)) {84 if (!this.Parameters.ContainsKey(moveResultName)) { 85 85 ILookupParameter moveResultParameter = new LookupParameter<IItem>(moveResultName); 86 86 moveResultParameter.ExecutionContext = ExecutionContext; … … 91 91 ILookupParameter result = Parameters[resultName] as ILookupParameter; 92 92 ILookupParameter moveResult = Parameters[moveResultName] as ILookupParameter; 93 result.ActualValue = moveResult.ActualValue .Clone() as IItem;93 result.ActualValue = moveResult.ActualValue; 94 94 } 95 95 }
Note: See TracChangeset
for help on using the changeset viewer.