Changeset 13408 for branches/ProblemRefactoring/HeuristicLab.Tests/HeuristicLab-3.3/Samples/OSESGriewankSampleTest.cs
- Timestamp:
- 11/26/15 17:36:54 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Tests/HeuristicLab-3.3/Samples/OSESGriewankSampleTest.cs
r13237 r13408 21 21 22 22 using System.IO; 23 using HeuristicLab.Algorithms.EvolutionStrategy;24 23 using HeuristicLab.Algorithms.OffspringSelectionEvolutionStrategy; 25 24 using HeuristicLab.Data; … … 63 62 SingleObjectiveTestFunctionProblem problem = new SingleObjectiveTestFunctionProblem(); 64 63 65 problem.ProblemSize .Value= 10;66 problem. EvaluatorParameter.Value = new GriewankEvaluator();64 problem.ProblemSize = 10; 65 problem.TestFunction = new Griewank(); 67 66 problem.SolutionCreatorParameter.Value = new UniformRandomRealVectorCreator(); 68 problem.Maximization.Value = false;69 67 problem.Bounds = new DoubleMatrix(new double[,] { { -600, 600 } }); 70 problem.BestKnownQuality .Value= 0;68 problem.BestKnownQuality = 0; 71 69 problem.BestKnownSolutionParameter.Value = new RealVector(10); 72 70 problem.Name = "Single Objective Test Function";
Note: See TracChangeset
for help on using the changeset viewer.