Changeset 12969 for branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3
- Timestamp:
- 09/25/15 14:39:59 (9 years ago)
- Location:
- branches/gteufl
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gteufl
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 25 obj
-
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
- Property svn:ignore
-
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/BasicMultiObjectiveQualityAnalyzer.cs
r9462 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/CrowdedComparisonSorter.cs
r9462 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/CrowdedTournamentSelector.cs
r9462 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/CrowdingDistanceAssignment.cs
r9462 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/DefaultCrossover.cs
r9462 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/FastNonDominatedSort.cs
r9462 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/HeuristicLab.Algorithms.NSGA2-3.3.csproj
r8600 r12969 11 11 <RootNamespace>HeuristicLab.Algorithms.NSGA2</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Algorithms.NSGA2-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <SignAssembly>true</SignAssembly> … … 45 45 <WarningLevel>4</WarningLevel> 46 46 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 47 <Prefer32Bit>false</Prefer32Bit> 47 48 </PropertyGroup> 48 49 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> … … 54 55 <WarningLevel>4</WarningLevel> 55 56 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 57 <Prefer32Bit>false</Prefer32Bit> 56 58 </PropertyGroup> 57 59 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> … … 63 65 <ErrorReport>prompt</ErrorReport> 64 66 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 67 <Prefer32Bit>false</Prefer32Bit> 65 68 </PropertyGroup> 66 69 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> … … 72 75 <ErrorReport>prompt</ErrorReport> 73 76 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 77 <Prefer32Bit>false</Prefer32Bit> 74 78 </PropertyGroup> 75 79 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> … … 81 85 <ErrorReport>prompt</ErrorReport> 82 86 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 87 <Prefer32Bit>false</Prefer32Bit> 83 88 </PropertyGroup> 84 89 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> … … 90 95 <ErrorReport>prompt</ErrorReport> 91 96 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 97 <Prefer32Bit>false</Prefer32Bit> 92 98 </PropertyGroup> 93 99 <ItemGroup> … … 199 205 --> 200 206 <PropertyGroup> 201 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)207 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 202 208 set ProjectDir=$(ProjectDir) 203 209 set SolutionDir=$(SolutionDir) … … 206 212 call PreBuildEvent.cmd 207 213 </PreBuildEvent> 208 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">214 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 209 215 export ProjectDir=$(ProjectDir) 210 216 export SolutionDir=$(SolutionDir) -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2.cs
r9456 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 39 39 /// </summary> 40 40 [Item("NSGA-II", "The Nondominated Sorting Genetic Algorithm II was introduced in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.")] 41 [Creatable( "Algorithms")]41 [Creatable(CreatableAttribute.Categories.Algorithms, Priority = 100)] 42 42 [StorableClass] 43 43 public class NSGA2 : HeuristicOptimizationEngineAlgorithm, IStorableContent { … … 87 87 private ValueParameter<IntValue> SelectedParentsParameter { 88 88 get { return (ValueParameter<IntValue>)Parameters["SelectedParents"]; } 89 } 90 91 private IFixedValueParameter<BoolValue> DominateOnEqualQualitiesParameter { 92 get { return (IFixedValueParameter<BoolValue>)Parameters["DominateOnEqualQualities"]; } 89 93 } 90 94 #endregion … … 135 139 set { SelectedParentsParameter.Value = value; } 136 140 } 141 public bool DominateOnEqualQualities { 142 get { return DominateOnEqualQualitiesParameter.Value.Value; } 143 set { DominateOnEqualQualitiesParameter.Value.Value = value; } 144 } 145 137 146 private RandomCreator RandomCreator { 138 147 get { return (RandomCreator)OperatorGraph.InitialOperator; } … … 171 180 Parameters.Add(new ValueParameter<IntValue>("MaximumGenerations", "The maximum number of generations which should be processed.", new IntValue(1000))); 172 181 Parameters.Add(new ValueParameter<IntValue>("SelectedParents", "Each two parents form a new child, typically this value should be twice the population size, but because the NSGA-II is maximally elitist it can be any multiple of 2 greater than 0.", new IntValue(200))); 182 Parameters.Add(new FixedValueParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated.", new BoolValue(false))); 173 183 174 184 RandomCreator randomCreator = new RandomCreator(); … … 195 205 subScopesCounter.Successor = rankAndCrowdingSorter; 196 206 207 rankAndCrowdingSorter.DominateOnEqualQualitiesParameter.ActualName = DominateOnEqualQualitiesParameter.Name; 197 208 rankAndCrowdingSorter.CrowdingDistanceParameter.ActualName = "CrowdingDistance"; 198 209 rankAndCrowdingSorter.RankParameter.ActualName = "Rank"; … … 311 322 [StorableHook(HookType.AfterDeserialization)] 312 323 private void AfterDeserialization() { 324 // BackwardsCompatibility3.3 325 #region Backwards compatible code, remove with 3.4 326 if (!Parameters.ContainsKey("DominateOnEqualQualities")) 327 Parameters.Add(new FixedValueParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated.", new BoolValue(false))); 328 #endregion 329 313 330 PopulationSizeParameter.ValueChanged += new EventHandler(PopulationSizeParameter_ValueChanged); 314 331 PopulationSize.ValueChanged += new EventHandler(PopulationSize_ValueChanged); -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2MainLoop.cs
r9456 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 79 79 get { return (LookupParameter<IntValue>)Parameters["EvaluatedSolutions"]; } 80 80 } 81 public IValueLookupParameter<BoolValue> DominateOnEqualQualitiesParameter { 82 get { return (ValueLookupParameter<BoolValue>)Parameters["DominateOnEqualQualities"]; } 83 } 81 84 #endregion 82 85 83 86 [StorableConstructor] 84 87 protected NSGA2MainLoop(bool deserializing) : base(deserializing) { } 88 [StorableHook(HookType.AfterDeserialization)] 89 private void AfterDeserialization() { 90 // BackwardsCompatibility3.3 91 #region Backwards compatible code, remove with 3.4 92 if (!Parameters.ContainsKey("DominateOnEqualQualities")) 93 Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated.")); 94 #endregion 95 } 96 85 97 protected NSGA2MainLoop(NSGA2MainLoop original, Cloner cloner) : base(original, cloner) { } 86 98 public NSGA2MainLoop() … … 105 117 Parameters.Add(new ValueLookupParameter<IOperator>("Analyzer", "The operator used to analyze each generation.")); 106 118 Parameters.Add(new LookupParameter<IntValue>("EvaluatedSolutions", "The number of times solutions have been evaluated.")); 119 Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated.")); 107 120 #endregion 108 121 … … 171 184 subScopesCounter.ValueParameter.ActualName = EvaluatedSolutionsParameter.Name; 172 185 186 rankAndCrowdingSorter.DominateOnEqualQualitiesParameter.ActualName = DominateOnEqualQualitiesParameter.Name; 173 187 rankAndCrowdingSorter.CrowdingDistanceParameter.ActualName = "CrowdingDistance"; 174 188 rankAndCrowdingSorter.RankParameter.ActualName = "Rank"; -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/Plugin.cs.frame
r10037 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 24 24 namespace HeuristicLab.Algorithms.NSGA2 { 25 [Plugin("HeuristicLab.Algorithms.NSGA2", "Provides the non-dominated sorting genetic algorithm (NSGA-II) as described in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.", "3.3. 9.$WCREV$")]25 [Plugin("HeuristicLab.Algorithms.NSGA2", "Provides the non-dominated sorting genetic algorithm (NSGA-II) as described in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.", "3.3.12.$WCREV$")] 26 26 [PluginFile("HeuristicLab.Algorithms.NSGA2-3.3.dll", PluginFileType.Assembly)] 27 27 [PluginDependency("HeuristicLab.Analysis", "3.3")] -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/Properties/AssemblyInfo.cs.frame
r10037 r12969 1 using System.Reflection; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System.Reflection; 2 23 using System.Runtime.CompilerServices; 3 24 using System.Runtime.InteropServices; … … 11 32 [assembly: AssemblyCompany("HEAL")] 12 33 [assembly: AssemblyProduct("HeuristicLab")] 13 [assembly: AssemblyCopyright("(c) 2002-201 3HEAL")]34 [assembly: AssemblyCopyright("(c) 2002-2015 HEAL")] 14 35 [assembly: AssemblyTrademark("")] 15 36 [assembly: AssemblyCulture("")] … … 34 55 // [assembly: AssemblyVersion("1.0.*")] 35 56 [assembly: AssemblyVersion("3.3.0.0")] 36 [assembly: AssemblyFileVersion("3.3. 9.$WCREV$")]57 [assembly: AssemblyFileVersion("3.3.12.$WCREV$")] -
branches/gteufl/HeuristicLab.Algorithms.NSGA2/3.3/RankAndCrowdingSorter.cs
r9462 r12969 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab.
Note: See TracChangeset
for help on using the changeset viewer.