Changeset 13408 for branches/ProblemRefactoring/HeuristicLab.Tests/HeuristicLab-3.3/Samples/PsoSchwefelSampleTest.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/PsoSchwefelSampleTest.cs
r12012 r13408 68 68 #region Problem Configuration 69 69 var problem = new SingleObjectiveTestFunctionProblem(); 70 problem.BestKnownQuality .Value= 0.0;70 problem.BestKnownQuality = 0.0; 71 71 problem.BestKnownSolutionParameter.Value = new RealVector(new double[] { 420.968746, 420.968746 }); 72 72 problem.Bounds = new DoubleMatrix(new double[,] { { -500, 500 } }); 73 problem.EvaluatorParameter.Value = new SchwefelEvaluator(); 74 problem.Maximization.Value = false; 75 problem.ProblemSize.Value = 2; 73 problem.TestFunction = new Schwefel(); 74 problem.ProblemSize = 2; 76 75 problem.SolutionCreatorParameter.Value = new UniformRandomRealVectorCreator(); 77 76 #endregion
Note: See TracChangeset
for help on using the changeset viewer.