Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16688 for branches


Ignore:
Timestamp:
03/15/19 12:48:26 (6 years ago)
Author:
bburlacu
Message:

#2987: Eliminate unnecessary cloning. Update to HEAL.Attic-pre4, fix AssemblyTitle

Location:
branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/HeuristicLab.Algorithms.MOEAD-3.4.csproj

    r16649 r16688  
    102102    </Reference>
    103103    <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    104       <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre03\lib\net461\HEAL.Attic.dll</HintPath>
     104      <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre04\lib\net461\HEAL.Attic.dll</HintPath>
    105105    </Reference>
    106106    <Reference Include="HeuristicLab.Analysis-3.3">
  • branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/MOEADAlgorithmBase.cs

    r16657 r16688  
    478478
    479479      foreach (var i in Enumerable.Range(0, size).Shuffle(random)) {
    480         int k = neighbourType == NeighborType.NEIGHBOR
    481           ? neighbourhood[subProblemId][i]
    482           : i;
     480        int k = neighbourType == NeighborType.NEIGHBOR ? neighbourhood[subProblemId][i] : i;
    483481
    484482        double f1 = CalculateFitness(population[k].Qualities, lambda[k], normalizeObjectives);
     
    486484
    487485        if (f2 < f1) {
    488           population[k] = (IMOEADSolution)individual.Clone();
     486          population[k] = individual;
    489487          replacedSolutions++;
    490488        }
  • branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/Properties/AssemblyInfo.cs.frame

    r16560 r16688  
    2727// set of attributes. Change these attribute values to modify the information
    2828// associated with an assembly.
    29 [assembly: AssemblyTitle("HeuristicLab.Algorithms.NSGA2")]
     29[assembly: AssemblyTitle("HeuristicLab.Algorithms.MOEAD")]
    3030[assembly: AssemblyDescription("")]
    3131[assembly: AssemblyConfiguration("")]
  • branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/packages.config

    r16630 r16688  
    22<packages>
    33  <package id="Google.Protobuf" version="3.6.1" targetFramework="net472" />
    4   <package id="HEAL.Attic" version="1.0.0-pre03" targetFramework="net472" />
     4  <package id="HEAL.Attic" version="1.0.0-pre04" targetFramework="net472" />
    55  <package id="System.Drawing.Common" version="4.6.0-preview.19073.11" targetFramework="net472" />
    66</packages>
Note: See TracChangeset for help on using the changeset viewer.