Changeset 17618 for branches/2825-NSGA3
- Timestamp:
- 06/21/20 17:00:55 (4 years ago)
- Location:
- branches/2825-NSGA3/HeuristicLab.Algorithms.NSGA3/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2825-NSGA3/HeuristicLab.Algorithms.NSGA3/3.3/NSGA3.cs
r17617 r17618 50 50 51 51 [Storable] 52 private int generation; 53 54 [Storable] 52 55 private List<Solution> solutions; 53 56 … … 200 203 { 201 204 random = new MersenneTwister(); 205 generation = 0; 202 206 InitSolutions(); 203 207 } … … 243 247 { 244 248 ReferencePoints = new List<ReferencePoint>(); // todo: use existing list of reference points 245 for (int iteration = 0; iteration < MaximumGenerations.Value; iteration++) 249 while (generation != MaximumGenerations.Value) 250 { 246 251 ToNextGeneration(); 252 generation++; 253 } 247 254 } 248 255 -
branches/2825-NSGA3/HeuristicLab.Algorithms.NSGA3/3.3/Solution.cs
r17557 r17618 7 7 namespace HeuristicLab.Algorithms.NSGA3 8 8 { 9 [StorableType("D35C9D79-77DF-4CF3-AB44-FCCC00E44C5F")] 9 10 public class Solution : Individual, IDeepCloneable 10 11 {
Note: See TracChangeset
for help on using the changeset viewer.