Changeset 13056 for trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPArtificialAntSampleTest.cs
- Timestamp:
- 10/22/15 20:20:54 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPArtificialAntSampleTest.cs
r12012 r13056 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 26 using HeuristicLab.Persistence.Default.Xml; 27 using HeuristicLab.Problems. ArtificialAnt;27 using HeuristicLab.Problems.GeneticProgramming.ArtificialAnt; 28 28 using HeuristicLab.Selection; 29 29 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 60 60 61 61 #region Problem Configuration 62 ArtificialAntProblem antProblem = new ArtificialAntProblem();63 antProblem.BestKnownQuality .Value= 89;64 antProblem. MaxExpressionDepth.Value= 10;65 antProblem. MaxExpressionLength.Value= 100;66 antProblem. MaxFunctionArguments.Value= 3;67 antProblem. MaxFunctionDefinitions.Value= 3;62 Problem antProblem = new Problem(); 63 antProblem.BestKnownQuality = 89; 64 antProblem.Encoding.TreeDepth = 10; 65 antProblem.Encoding.TreeLength = 100; 66 antProblem.Encoding.FunctionDefinitions = 3; 67 antProblem.Encoding.FunctionArguments = 3; 68 68 antProblem.MaxTimeSteps.Value = 600; 69 69 #endregion
Note: See TracChangeset
for help on using the changeset viewer.