Changeset 8132 for trunk/sources
- Timestamp:
- 06/27/12 11:41:13 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.LawnMower.Views/3.3/HeuristicLab.Problems.LawnMower.Views.csproj
r8059 r8132 97 97 <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> 98 98 </PropertyGroup> 99 <PropertyGroup> 100 <SignAssembly>true</SignAssembly> 101 </PropertyGroup> 102 <PropertyGroup> 103 <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile> 104 </PropertyGroup> 99 105 <ItemGroup> 100 106 <Reference Include="System" /> … … 116 122 <DependentUpon>SolutionProgramView.cs</DependentUpon> 117 123 </Compile> 124 <None Include="HeuristicLab.snk" /> 118 125 <None Include="Plugin.cs.frame" /> 119 126 <None Include="Properties\AssemblyInfo.cs.frame" /> -
trunk/sources/HeuristicLab.Problems.LawnMower/3.3/HeuristicLab.Problems.LawnMower.csproj
r8059 r8132 96 96 <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> 97 97 </PropertyGroup> 98 <PropertyGroup> 99 <SignAssembly>true</SignAssembly> 100 </PropertyGroup> 101 <PropertyGroup> 102 <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile> 103 </PropertyGroup> 98 104 <ItemGroup> 99 105 <Reference Include="HeuristicLab.Common-3.3"> … … 106 112 <ItemGroup> 107 113 <Compile Include="BestSolutionAnalyzer.cs" /> 114 <None Include="HeuristicLab.snk" /> 108 115 <None Include="Plugin.cs.frame" /> 109 116 <Compile Include="Interpreter.cs" /> -
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/SamplesTest.cs
r7915 r8132 439 439 } 440 440 #endregion 441 #region LawnMower 442 [TestMethod] 443 public void RunGpLawnMowerSampleTest() { 444 var ga = CreateGpLawnMowerSample(); 445 ga.SetSeedRandomly.Value = false; 446 RunAlgorithm(ga); 447 } 448 449 public GeneticAlgorithm CreateGpLawnMowerSample() { 450 GeneticAlgorithm ga = new GeneticAlgorithm(); 451 #region Problem Configuration 452 var problem = new HeuristicLab.Problems.LawnMower.Problem(); 453 #endregion 454 #region Algorithm Configuration 455 ga.Name = "Genetic Programming - Lawn Mower"; 456 ga.Description = "A standard genetic programming algorithm to solve the lawn mower problem"; 457 ga.Problem = problem; 458 ConfigureGeneticAlgorithmParameters<TournamentSelector, SubtreeCrossover, MultiSymbolicExpressionTreeArchitectureManipulator>( 459 ga, 1000, 1, 50, 0.25, 5); 460 var mutator = (MultiSymbolicExpressionTreeArchitectureManipulator)ga.Mutator; 461 mutator.Operators.SetItemCheckedState(mutator.Operators 462 .OfType<OnePointShaker>() 463 .Single(), false); 464 #endregion 465 return ga; 466 } 467 #endregion 441 468 #endregion 442 469 -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Tests.csproj
r8121 r8132 224 224 <Reference Include="HeuristicLab.Problems.Knapsack-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 225 225 <HintPath>..\bin\HeuristicLab.Problems.Knapsack-3.3.dll</HintPath> 226 </Reference> 227 <Reference Include="HeuristicLab.Problems.LawnMower-3.3"> 228 <HintPath>..\bin\HeuristicLab.Problems.LawnMower-3.3.dll</HintPath> 226 229 </Reference> 227 230 <Reference Include="HeuristicLab.Problems.LinearAssignment-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
Note: See TracChangeset
for help on using the changeset viewer.