Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Shakers
- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Shakers/OrienteeringShakingOperator.cs
r14185 r14927 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;31 using HeuristicLab.Persistence; 32 32 33 33 namespace HeuristicLab.Problems.Orienteering { … … 48 48 /// </summary> 49 49 [Item("OrienteeringShakingOperator", @"Implements the shaking procedure described in Schilde M., Doerner K.F., Hartl R.F., Kiechle G. 2009. Metaheuristics for the bi-objective orienteering problem. Swarm Intelligence, Volume 3, Issue 3, pp 179-201.")] 50 [Storable Class]50 [StorableType("0f624eb9-cdc7-4109-96c6-1a306532ca54")] 51 51 public sealed class OrienteeringShakingOperator : SingleSuccessorOperator, IMultiNeighborhoodShakingOperator, IStochasticOperator { 52 52 … … 141 141 var visitablePoints = ( 142 142 from point in Enumerable.Range(0, numPoints) 143 // Calculate the distance when going from the starting point to this point and then to the end point143 // Calculate the distance when going from the starting point to this point and then to the end point 144 144 let distance = distances[startingPoint, point] + distances[point, terminalPoint] + pointVisitingCosts 145 145 // If this distance is feasible and the point is neither starting nor ending point, check the point
Note: See TracChangeset
for help on using the changeset viewer.