Changeset 16561
- Timestamp:
- 01/25/19 21:01:02 (6 years ago)
- Location:
- branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4
- Property svn:ignore
-
old new 1 *.aps 2 *.eto 3 *.nuget.props 4 *.nuget.targets 5 *.user 6 ClientBin 7 GeneratedArtifacts 8 Plugin.cs 1 9 [Bb]in 2 obj3 10 [Dd]ebug 4 11 [Rr]elease 5 *.user6 *.aps7 *.eto8 ClientBin9 GeneratedArtifacts10 12 _Pvt_Extensions 13 obj 11 14 project.lock.json 12 *.nuget.props13 *.nuget.targets
-
- Property svn:ignore
-
branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/MOEADAlgorithmBase.cs
r16560 r16561 42 42 43 43 [Storable] 44 protected IList<IMOEADSolution> population;45 46 [Storable] 47 protected IList<IMOEADSolution> offspringPopulation;48 49 [Storable] 50 protected IList<IMOEADSolution> jointPopulation;44 protected List<IMOEADSolution> population; 45 46 [Storable] 47 protected List<IMOEADSolution> offspringPopulation; 48 49 [Storable] 50 protected List<IMOEADSolution> jointPopulation; 51 51 52 52 [Storable] … … 233 233 234 234 if (original.population != null) { 235 population = original.population.Select(cloner.Clone).To Array();235 population = original.population.Select(cloner.Clone).ToList(); 236 236 } 237 237 238 238 if (original.offspringPopulation != null) { 239 offspringPopulation = original.offspringPopulation.Select(cloner.Clone).To Array();239 offspringPopulation = original.offspringPopulation.Select(cloner.Clone).ToList(); 240 240 } 241 241 242 242 if (original.jointPopulation != null) { 243 jointPopulation = original.jointPopulation.Select(x => cloner.Clone(x)).To Array();243 jointPopulation = original.jointPopulation.Select(x => cloner.Clone(x)).ToList(); 244 244 } 245 245 … … 263 263 var dimensions = maximization.Length; 264 264 var populationSize = PopulationSize.Value; 265 population = new MOEADSolution[populationSize];265 population = new List<IMOEADSolution>(populationSize); 266 266 267 267 var parentScope = executionContext.Scope; … … 283 283 solution.Qualities[j] = maximization[j] ? 1 - qualities[j] : qualities[j]; 284 284 } 285 population [i] = solution;285 population.Add(solution); 286 286 } 287 287 } -
branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/Properties
-
Property
svn:ignore
set to
AssemblyInfo.cs
-
Property
svn:ignore
set to
Note: See TracChangeset
for help on using the changeset viewer.