- Timestamp:
- 08/25/15 00:55:53 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Analyzers/SelectionSchemeAnalyzer.cs
r12163 r12894 61 61 // to make sure the solutions are analyzed on the first application of this operator 62 62 if (updateCounter == null) { 63 updateCounter = new IntValue( updateInterval);63 updateCounter = new IntValue(0); 64 64 UpdateCounterParameter.ActualValue = updateCounter; 65 65 } 66 updateCounter.Value++; 66 67 //analyze solutions only every 'updateInterval' times 67 if (updateCounter.Value != updateInterval) { 68 updateCounter.Value++; 69 return base.Apply(); 70 } 71 updateCounter.Value = 1; 68 if (updateCounter.Value != updateInterval) return base.Apply(); 69 updateCounter.Value = 0; 72 70 73 71 if (PopulationGraph == null) 74 72 return base.Apply(); 75 76 73 double selectionRatio = 1; 77 74
Note: See TracChangeset
for help on using the changeset viewer.