Changeset 3145 for trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3
- Timestamp:
- 03/20/10 20:16:18 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.cs
r3141 r3145 128 128 129 129 [StorableConstructor] 130 p ublicTabuSearch(bool deserializing) : base() { }130 private TabuSearch(bool deserializing) : base() { } 131 131 public TabuSearch() 132 132 : base() { -
trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearchMainLoop.cs
r3143 r3145 86 86 #endregion 87 87 88 [StorableConstructor] 89 private TabuSearchMainLoop(bool deserializing) : base() { } 88 90 public TabuSearchMainLoop() 89 91 : base() { 92 Initialize(); 93 } 94 95 private void Initialize() { 90 96 #region Create parameters 91 97 Parameters.Add(new ValueLookupParameter<IRandom>("Random", "A pseudo random number generator.")); … … 97 103 Parameters.Add(new ValueLookupParameter<IntValue>("MaximumIterations", "The maximum number of generations which should be processed.")); 98 104 Parameters.Add(new ValueLookupParameter<IntValue>("TabuTenure", "The length of the tabu list, and also means the number of iterations a move is kept tabu")); 99 105 100 106 Parameters.Add(new ValueLookupParameter<IOperator>("MoveGenerator", "The operator that generates the moves.")); 101 107 Parameters.Add(new ValueLookupParameter<IOperator>("MoveMaker", "The operator that performs a move and updates the quality.")); … … 192 198 bestAverageWorstMoveQualityCalculator.QualityParameter.ActualName = MoveQualityParameter.Name; 193 199 bestAverageWorstMoveQualityCalculator.WorstQualityParameter.ActualName = "Worst Move Quality"; 194 200 195 201 valuesCollector.CollectedValues.Add(new LookupParameter<DoubleValue>("Best Move Quality")); 196 202 valuesCollector.CollectedValues.Add(new LookupParameter<DoubleValue>("Average Move Quality"));
Note: See TracChangeset
for help on using the changeset viewer.