Changeset 3450 for trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
- Timestamp:
- 04/20/10 18:53:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r3336 r3450 40 40 public sealed class SingleObjectiveTestFunctionProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 41 41 [Storable] 42 private St rategyVectorCreator strategyVectorCreator;42 private StdDevStrategyVectorCreator strategyVectorCreator; 43 43 [Storable] 44 private St rategyVectorCrossover strategyVectorCrossover;44 private StdDevStrategyVectorCrossover strategyVectorCrossover; 45 45 [Storable] 46 private St rategyVectorManipulator strategyVectorManipulator;46 private StdDevStrategyVectorManipulator strategyVectorManipulator; 47 47 48 48 public override Image ItemImage { … … 151 151 Parameters.Add(new OptionalValueParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this TSP instance.", new DoubleValue(evaluator.BestKnownQuality))); 152 152 153 strategyVectorCreator = new St rategyVectorCreator();153 strategyVectorCreator = new StdDevStrategyVectorCreator(); 154 154 strategyVectorCreator.LengthParameter.ActualName = ProblemSizeParameter.Name; 155 strategyVectorCrossover = new StrategyVectorCrossover(); 156 strategyVectorManipulator = new StrategyVectorManipulator(); 155 strategyVectorCrossover = new StdDevStrategyVectorCrossover(); 156 strategyVectorManipulator = new StdDevStrategyVectorManipulator(); 157 strategyVectorManipulator.LearningRateParameter.Value = new DoubleValue(0.5); 158 strategyVectorManipulator.GeneralLearningRateParameter.Value = new DoubleValue(0.5); 157 159 158 160 creator.RealVectorParameter.ActualName = "Point";
Note: See TracChangeset
for help on using the changeset viewer.