- Timestamp:
- 07/18/14 12:01:13 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- 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 Tests23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HiveStatistics/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3/EvolutionStrategyMainLoop.cs
r7259 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 61 61 get { return (ValueLookupParameter<BoolValue>)Parameters["PlusSelection"]; } 62 62 } 63 public IValueLookupParameter<BoolValue> ReevaluateElitesParameter { 64 get { return (IValueLookupParameter<BoolValue>)Parameters["ReevaluateElites"]; } 65 } 63 66 public ValueLookupParameter<IntValue> MaximumGenerationsParameter { 64 67 get { return (ValueLookupParameter<IntValue>)Parameters["MaximumGenerations"]; } … … 108 111 : base() { 109 112 Initialize(); 113 } 114 115 [StorableHook(HookType.AfterDeserialization)] 116 private void AfterDeserialization() { 117 // BackwardsCompatibility3.3 118 #region Backwards compatible code, remove with 3.4 119 if (!Parameters.ContainsKey("ReevaluateElites")) { 120 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)")); 121 } 122 #endregion 110 123 } 111 124 … … 121 134 Parameters.Add(new ValueLookupParameter<IntValue>("MaximumGenerations", "The maximum number of generations which should be processed.")); 122 135 Parameters.Add(new ValueLookupParameter<BoolValue>("PlusSelection", "True for plus selection (elitist population), false for comma selection (non-elitist population).")); 136 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)")); 123 137 Parameters.Add(new ValueLookupParameter<IOperator>("Mutator", "The operator used to mutate solutions.")); 124 138 Parameters.Add(new ValueLookupParameter<IOperator>("Recombinator", "The operator used to cross solutions.")); … … 162 176 Placeholder analyzer2 = new Placeholder(); 163 177 ConditionalBranch conditionalBranch = new ConditionalBranch(); 178 ConditionalBranch reevaluateElitesBranch = new ConditionalBranch(); 179 SubScopesProcessor subScopesProcessor2 = new SubScopesProcessor(); 180 UniformSubScopesProcessor uniformSubScopesProcessor4 = new UniformSubScopesProcessor(); 181 Placeholder evaluator2 = new Placeholder(); 182 SubScopesCounter subScopesCounter2 = new SubScopesCounter(); 183 164 184 165 185 variableCreator.CollectedValues.Add(new ValueParameter<IntValue>("Generations", new IntValue(0))); // Class EvolutionStrategy expects this to be called Generations … … 235 255 236 256 conditionalBranch.ConditionParameter.ActualName = "Terminate"; 257 258 reevaluateElitesBranch.ConditionParameter.ActualName = "ReevaluateElites"; 259 reevaluateElitesBranch.Name = "Reevaluate elites ?"; 260 261 uniformSubScopesProcessor4.Parallel.Value = true; 262 263 evaluator2.Name = "Evaluator (placeholder)"; 264 evaluator2.OperatorParameter.ActualName = EvaluatorParameter.Name; 265 266 subScopesCounter2.Name = "Increment EvaluatedSolutions"; 267 subScopesCounter2.ValueParameter.ActualName = EvaluatedSolutionsParameter.Name; 237 268 #endregion 238 269 … … 266 297 evaluator.Successor = null; 267 298 subScopesCounter.Successor = null; 268 plusOrCommaReplacementBranch.TrueBranch = plusReplacement; 299 300 plusOrCommaReplacementBranch.TrueBranch = reevaluateElitesBranch; 301 reevaluateElitesBranch.TrueBranch = subScopesProcessor2; 302 reevaluateElitesBranch.FalseBranch = null; 303 subScopesProcessor2.Operators.Add(uniformSubScopesProcessor4); 304 subScopesProcessor2.Operators.Add(new EmptyOperator()); 305 uniformSubScopesProcessor4.Operator = evaluator2; 306 uniformSubScopesProcessor4.Successor = subScopesCounter2; 307 subScopesCounter2.Successor = null; 308 reevaluateElitesBranch.Successor = plusReplacement; 309 269 310 plusOrCommaReplacementBranch.FalseBranch = commaReplacement; 270 311 plusOrCommaReplacementBranch.Successor = bestSelector; -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3/Plugin.cs.frame
r8246 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 /// Plugin class for HeuristicLab.Algorithms.EvolutionStrategy plugin. 27 27 /// </summary> 28 [Plugin("HeuristicLab.Algorithms.EvolutionStrategy", "3.3. 7.$WCREV$")]28 [Plugin("HeuristicLab.Algorithms.EvolutionStrategy", "3.3.10.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Algorithms.EvolutionStrategy-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Analysis", "3.3")] -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3/Properties/AssemblyInfo.cs.frame
r8246 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 31 31 [assembly: AssemblyCompany("")] 32 32 [assembly: AssemblyProduct("HeuristicLab")] 33 [assembly: AssemblyCopyright("(c) 2002-201 2HEAL")]33 [assembly: AssemblyCopyright("(c) 2002-2014 HEAL")] 34 34 [assembly: AssemblyTrademark("")] 35 35 [assembly: AssemblyCulture("")] … … 53 53 // by using the '*' as shown below: 54 54 [assembly: AssemblyVersion("3.3.0.0")] 55 [assembly: AssemblyFileVersion("3.3. 7.$WCREV$")]55 [assembly: AssemblyFileVersion("3.3.10.$WCREV$")] -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3/SelfAdaptiveCrossover.cs
r3326 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3/StrategyVectorManipulator.cs
r3183 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.EvolutionStrategy/3.3/WithoutRepeatingBatchedRandomSelector.cs
r7259 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 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.