Changeset 5609 for branches/VNS/HeuristicLab.Algorithms.VariableNeighborhoodSearch/3.3/ShakingOperator.cs
- Timestamp:
- 03/04/11 17:23:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VNS/HeuristicLab.Algorithms.VariableNeighborhoodSearch/3.3/ShakingOperator.cs
r5603 r5609 65 65 IOperator successor = null; 66 66 67 if (index >= operators.Count || index < 0) {67 if (index >= operators.Count - 1) { 68 68 ContinueParameter.ActualValue = new BoolValue(false); 69 69 } else { 70 70 ContinueParameter.ActualValue = new BoolValue(true); 71 } 72 73 if (index >= 0 && index < operators.Count) { 71 74 successor = operators[index].Value; 72 75 }
Note: See TracChangeset
for help on using the changeset viewer.