Changeset 5581 for trunk/sources
- Timestamp:
- 03/01/11 16:38:39 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/HeuristicLab.Algorithms.ParticleSwarmOptimization-3.3.csproj
r5560 r5581 106 106 </ItemGroup> 107 107 <ItemGroup> 108 <Compile Include="BestPointInitializer.cs" />109 108 <Compile Include="MultiPSOTopologyUpdater.cs" /> 110 109 <Compile Include="ParticleSwarmOptimizationMainLoop.cs" /> -
trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimization.cs
r5568 r5581 286 286 private void InitializeAnalyzers() { 287 287 qualityAnalyzer = new BestAverageWorstQualityAnalyzer(); 288 qualityAnalyzer.ResultsParameter.ActualName = "Results"; 288 289 ParameterizeAnalyzers(); 289 290 } -
trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimizationMainLoop.cs
r5568 r5581 187 187 conditionalBranch.Name = "ContinueIteration?"; 188 188 conditionalBranch.ConditionParameter.ActualName = "ContinueIteration"; 189 conditionalBranch.TrueBranch = uniformSubScopeProcessor;189 conditionalBranch.TrueBranch = analyzerPlaceholder; 190 190 #endregion 191 191 } -
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs
r5568 r5581 206 206 } 207 207 for (int i = 0; i < RealVector.Length; i++) { 208 if (Maximization && PersonalBestQuality[i].Value > NeighborBestQuality[i].Value ||209 !Maximization && PersonalBestQuality[i].Value < NeighborBestQuality[i].Value) {208 if (Maximization && PersonalBestQuality[i].Value > neighborBestQuality[i].Value || 209 !Maximization && PersonalBestQuality[i].Value < neighborBestQuality[i].Value) { 210 210 neighborBestQuality[i].Value = PersonalBestQuality[i].Value; 211 211 neighborBest[i] = PersonalBest[i];
Note: See TracChangeset
for help on using the changeset viewer.