Changeset 7744 for branches/ScatterSearch/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearchMainLoop.cs
- Timestamp:
- 04/20/12 17:00:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearchMainLoop.cs
r7740 r7744 46 46 get { return (IValueLookupParameter<IOperator>)Parameters["Improver"]; } 47 47 } 48 public IValueLookupParameter<DiversityCalculator> DiversityCalculatorParameter { 49 get { return (IValueLookupParameter<DiversityCalculator>)Parameters["DiversityCalculator"]; } 50 } 48 51 public IValueLookupParameter<IntValue> NumberOfHighQualitySolutionsParameter { 49 52 get { return (IValueLookupParameter<IntValue>)Parameters["NumberOfHighQualitySolutions"]; } … … 99 102 get { return ImproverParameter.ActualValue; } 100 103 set { ImproverParameter.ActualValue = value; } 104 } 105 private DiversityCalculator DiversityCalculator { 106 get { return DiversityCalculatorParameter.ActualValue; } 107 set { DiversityCalculatorParameter.ActualValue = value; } 101 108 } 102 109 private IntValue NumberOfHighQualitySolutions { … … 168 175 Parameters.Add(new ValueLookupParameter<ICrossover>("Crossover", "The operator used to combine solutions.")); 169 176 Parameters.Add(new ValueLookupParameter<IOperator>("Improver", "The operator used to improve solutions.")); 177 Parameters.Add(new ValueLookupParameter<DiversityCalculator>("DiversityCalculator", "The operator used to calculate the diversity of two solutions.")); 170 178 Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfHighQualitySolutions", "The number of high quality solutions that should be added to the reference set.")); 171 179 Parameters.Add(new ValueLookupParameter<IntValue>("PopulationSize", "The size of the population."));
Note: See TracChangeset
for help on using the changeset viewer.