Changeset 3265 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 04/05/10 03:17:25 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs
r3262 r3265 180 180 181 181 public override void Prepare() { 182 base.Prepare(); 183 if (Engine != null) { 184 if (Problem == null) Engine.Prepare(null); 185 } 182 if (Problem != null) base.Prepare(); 186 183 } 187 184 -
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/Tests/HeuristicLab.Algorithms.GeneticAlgorithm-3.3.Tests.csproj
r3199 r3265 156 156 </ItemGroup> 157 157 <ItemGroup> 158 <None Include="G eneticAlgorithm.hl">158 <None Include="GA_TSP.hl"> 159 159 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 160 160 </None> -
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/Tests/UnitTest.cs
r3198 r3265 80 80 81 81 [TestMethod] 82 [DeploymentItem(@"G eneticAlgorithm.hl")]82 [DeploymentItem(@"GA_TSP.hl")] 83 83 public void GeneticAlgorithmPerformanceTest() { 84 84 ex = null; 85 IAlgorithm ga = (IAlgorithm)XmlParser.Deserialize("G eneticAlgorithm.hl");85 IAlgorithm ga = (IAlgorithm)XmlParser.Deserialize("GA_TSP.hl"); 86 86 ga.ExceptionOccurred += new EventHandler<EventArgs<Exception>>(ga_ExceptionOccurred); 87 87 ga.Stopped += new EventHandler(ga_Stopped);
Note: See TracChangeset
for help on using the changeset viewer.