- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Analyzers/BestOrienteeringSolutionAnalyzer.cs
r14185 r14927 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;30 using HeuristicLab.Persistence; 31 31 32 32 namespace HeuristicLab.Problems.Orienteering { 33 [Storable Class]33 [StorableType("b5f67155-c4bd-4379-b702-067378edf9be")] 34 34 public sealed class BestOrienteeringSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer { 35 35 public bool EnabledByDefault { -
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Creators/GreedyOrienteeringTourCreator.cs
r14185 r14927 27 27 using HeuristicLab.Encodings.IntegerVectorEncoding; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Problems.Orienteering { … … 39 39 /// </summary> 40 40 [Item("GreedyOrienteeringTourCreator", @"Implements the solution creation 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.")] 41 [Storable Class]41 [StorableType("ed2f1545-f0e1-4d7c-91a3-592ed035ad86")] 42 42 public sealed class GreedyOrienteeringTourCreator : IntegerVectorCreator, IOrienteeringSolutionCreator { 43 43 public override bool CanChangeName { get { return false; } } -
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/DistanceMatrix.cs
r14185 r14927 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Problems.Orienteering { … … 32 32 /// </summary> 33 33 [Item("DistanceMatrix", "Represents a distance matrix of a Orienteering Problem.")] 34 [Storable Class]34 [StorableType("780698fd-86b7-4983-8b9b-f35a55aa7e35")] 35 35 public sealed class DistanceMatrix : DoubleMatrix { 36 36 [StorableConstructor] -
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Evaluators/OrienteeringEvaluator.cs
r14185 r14927 27 27 using HeuristicLab.Operators; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Problems.Orienteering { 32 32 [Item("OrienteeringEvaluator", "Operator to evaluate a solution to the orienteering problem.")] 33 [Storable Class]33 [StorableType("7631d1b0-b623-48ff-92eb-2fb4b5d78705")] 34 34 public class OrienteeringEvaluator : InstrumentedOperator, IOrienteeringEvaluator { 35 35 -
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/Improvers/OrienteeringLocalImprovementOperator.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 { … … 38 38 /// </summary> 39 39 [Item("OrienteeringLocalImprovementOperator", @"Implements the iterative improvement 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.")] 40 [Storable Class]40 [StorableType("f7cb8fed-a966-4c35-bd59-a834921f91fe")] 41 41 public sealed class OrienteeringLocalImprovementOperator : SingleSuccessorOperator, ILocalImprovementOperator { 42 42 -
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.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 using HeuristicLab.Problems.Instances; 33 33 using HeuristicLab.Problems.Instances.Types; … … 36 36 [Item("Orienteering Problem (OP)", "Represents a single-objective Orienteering Problem.")] 37 37 [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 115)] 38 [Storable Class]38 [StorableType("66e0ef3b-4ce4-4457-a69b-d3d7eb6c6d24")] 39 39 public sealed class OrienteeringProblem 40 40 : SingleObjectiveHeuristicOptimizationProblem<IOrienteeringEvaluator, IOrienteeringSolutionCreator>, -
branches/PersistenceReintegration/HeuristicLab.Problems.Orienteering/3.3/OrienteeringSolution.cs
r14185 r14927 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Encodings.IntegerVectorEncoding; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.Problems.Orienteering { 31 31 [Item("OrienteeringSolution", "Represents a Orienteering solution which can be visualized in the GUI.")] 32 [Storable Class]32 [StorableType("f535a464-60f1-4b2c-b287-eaf72f7c547a")] 33 33 public sealed class OrienteeringSolution : Item { 34 34 public static new Image StaticItemImage { -
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.