Changeset 17264 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/Improvers/PTSPEstimatedTwoPointFiveLocalImprovement.cs
- Timestamp:
- 09/19/19 20:35:46 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/Improvers/PTSPEstimatedTwoPointFiveLocalImprovement.cs
r17260 r17264 42 42 [Item("PTSP Estimated 2.5 Local Improvement", "An operator that improves probabilistic traveling salesman solutions. The operator tries to improve the probabilistic traveling salesman solution by swapping two randomly chosen edges for a certain number of times.")] 43 43 [StorableType("8B04265A-50AD-4FAD-99F8-2357D6F10CC3")] 44 public sealed class PTSPEstimatedTwoPointFiveLocalImprovement : SingleSuccessorOperator, IEstimatedPTSPOperator, I LocalImprovementOperator {44 public sealed class PTSPEstimatedTwoPointFiveLocalImprovement : SingleSuccessorOperator, IEstimatedPTSPOperator, IPermutationLocalImprovementOperator { 45 45 46 46 public ILookupParameter<IntValue> LocalIterationsParameter { … … 75 75 get { return (ILookupParameter<IProbabilisticTSPData>)Parameters["PTSP Data"]; } 76 76 } 77 public ILookupParameter<ReadOnlyItemList<BoolArray>> Realization sParameter {78 get { return (ILookupParameter<ReadOnlyItemList<BoolArray>>)Parameters["Realization s"]; }77 public ILookupParameter<ReadOnlyItemList<BoolArray>> RealizationDataParameter { 78 get { return (ILookupParameter<ReadOnlyItemList<BoolArray>>)Parameters["RealizationData"]; } 79 79 } 80 80 … … 92 92 Parameters.Add(new LookupParameter<BoolValue>("Maximization", "True if the problem should be maximized or minimized.")); 93 93 Parameters.Add(new LookupParameter<IProbabilisticTSPData>("PTSP Data", "The main parameters of the pTSP.")); 94 Parameters.Add(new LookupParameter<ReadOnlyItemList<BoolArray>>("Realization s", "The list of samples drawn from all possible stochastic instances."));94 Parameters.Add(new LookupParameter<ReadOnlyItemList<BoolArray>>("RealizationData", "The list of samples drawn from all possible stochastic instances.")); 95 95 } 96 96 … … 131 131 var evaluations = EvaluatedSolutionsParameter.ActualValue; 132 132 var data = ProbabilisticTSPDataParameter.ActualValue; 133 var realizations = Realization sParameter.ActualValue;133 var realizations = RealizationDataParameter.ActualValue; 134 134 if (localIterations == null) { 135 135 localIterations = new IntValue(0);
Note: See TracChangeset
for help on using the changeset viewer.