- Timestamp:
- 02/01/15 19:49:25 (10 years ago)
- Location:
- branches/HeuristicLab.Problems.GrammaticalOptimization/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GrammaticalOptimization/Main/Main.csproj
r11846 r11847 36 36 </PropertyGroup> 37 37 <ItemGroup> 38 <Reference Include="HeuristicLab.Algorithms.GeneticAlgorithm-3.3">39 <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Algorithms.GeneticAlgorithm-3.3.dll</HintPath>40 </Reference>41 38 <Reference Include="System" /> 42 39 <Reference Include="System.Core" /> -
branches/HeuristicLab.Problems.GrammaticalOptimization/Main/Program.cs
r11846 r11847 303 303 const int maxIterations = 100000; 304 304 const int seed = 31415; 305 var globalStatistics = new SentenceSetStatistics( );306 307 var gp = new StandardGP(new SymbolicRegressionPoly10Problem(), new Random(seed));305 var globalStatistics = new SentenceSetStatistics(512); 306 307 var gp = new StandardGP(new HardPalindromeProblem(), new Random(seed)); 308 308 gp.FoundNewBestSolution += (sentence, quality) => { 309 309 Console.WriteLine("{0}", globalStatistics); … … 317 317 } 318 318 }; 319 320 gp.PopulationSize = 1000; 321 gp.MaxSolutionSize = 31 + 2; 322 gp.MaxSolutionDepth = 20; 319 323 320 324 var sw = new Stopwatch();
Note: See TracChangeset
for help on using the changeset viewer.