- Timestamp:
- 07/18/14 12:35:00 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 11 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.dll11 10 HeuristicLab 3.3.5.1.ReSharper.user 12 11 HeuristicLab 3.3.6.0.ReSharper.user 13 12 HeuristicLab.4.5.resharper.user 14 13 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development16 14 HeuristicLab.resharper.user 17 15 ProtoGen.exe … … 19 17 _ReSharper.HeuristicLab 20 18 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests22 19 _ReSharper.HeuristicLab.ExtLibs 23 20 bin 24 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/Analyzers/OffspringSuccessAnalyzer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/Analyzers/PopulationSizeAnalyzer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/Analyzers/SelectionPressureAnalyzer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/DuplicatesSelector.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/Plugin.cs.frame
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 /// Plugin class for HeuristicLab.Algorithms.RAPGA plugin. 27 27 /// </summary> 28 [Plugin("HeuristicLab.Algorithms.RAPGA", "3.3. 10.$WCREV$")]28 [Plugin("HeuristicLab.Algorithms.RAPGA", "3.3.7.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Algorithms.RAPGA-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Analysis", "3.3")] -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/ProgressiveOffspringPreserver.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/Properties/AssemblyInfo.cs.frame
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 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 4HEAL")]33 [assembly: AssemblyCopyright("(c) 2002-2012 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. 10.$WCREV$")]55 [assembly: AssemblyFileVersion("3.3.7.$WCREV$")] -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/RAPGA.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 94 94 get { return (ValueParameter<IntValue>)Parameters["Elites"]; } 95 95 } 96 private IFixedValueParameter<BoolValue> ReevaluateElitesParameter {97 get { return (IFixedValueParameter<BoolValue>)Parameters["ReevaluateElites"]; }98 }99 96 private ValueParameter<MultiAnalyzer> AnalyzerParameter { 100 97 get { return (ValueParameter<MultiAnalyzer>)Parameters["Analyzer"]; } … … 160 157 get { return ElitesParameter.Value; } 161 158 set { ElitesParameter.Value = value; } 162 }163 public bool ReevaluteElites {164 get { return ReevaluateElitesParameter.Value.Value; }165 set { ReevaluateElitesParameter.Value.Value = value; }166 159 } 167 160 public MultiAnalyzer Analyzer { … … 199 192 private RAPGA(bool deserializing) : base(deserializing) { } 200 193 [StorableHook(HookType.AfterDeserialization)] 201 private void AfterDeserialization() { 202 // BackwardsCompatibility3.3 203 #region Backwards compatible code, remove with 3.4 204 if (!Parameters.ContainsKey("ReevaluateElites")) { 205 Parameters.Add(new FixedValueParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)", (BoolValue)new BoolValue(false).AsReadOnly()) { Hidden = true }); 206 } 207 #endregion 208 Initialize(); 209 } 194 private void AfterDeserialization() { Initialize(); } 210 195 private RAPGA(RAPGA original, Cloner cloner) 211 196 : base(original, cloner) { … … 231 216 Parameters.Add(new OptionalConstrainedValueParameter<IManipulator>("Mutator", "The operator used to mutate solutions.")); 232 217 Parameters.Add(new ValueParameter<IntValue>("Elites", "The numer of elite solutions which are kept in each generation.", new IntValue(1))); 233 Parameters.Add(new FixedValueParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)", new BoolValue(false)) { Hidden = true });234 218 Parameters.Add(new ValueParameter<MultiAnalyzer>("Analyzer", "The operator used to analyze each generation.", new MultiAnalyzer())); 235 219 Parameters.Add(new ValueParameter<IntValue>("MaximumGenerations", "The maximum number of generations which should be processed.", new IntValue(1000))); … … 264 248 mainLoop.CrossoverParameter.ActualName = CrossoverParameter.Name; 265 249 mainLoop.ElitesParameter.ActualName = ElitesParameter.Name; 266 mainLoop.ReevaluateElitesParameter.ActualName = ReevaluateElitesParameter.Name;267 250 mainLoop.MaximumGenerationsParameter.ActualName = MaximumGenerationsParameter.Name; 268 251 mainLoop.MutatorParameter.ActualName = MutatorParameter.Name; -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/RAPGAMainLoop.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 65 65 get { return (ValueLookupParameter<IntValue>)Parameters["Elites"]; } 66 66 } 67 public IValueLookupParameter<BoolValue> ReevaluateElitesParameter {68 get { return (IValueLookupParameter<BoolValue>)Parameters["ReevaluateElites"]; }69 }70 67 public ValueLookupParameter<IntValue> MaximumGenerationsParameter { 71 68 get { return (ValueLookupParameter<IntValue>)Parameters["MaximumGenerations"]; } … … 119 116 public override IDeepCloneable Clone(Cloner cloner) { 120 117 return new RAPGAMainLoop(this, cloner); 121 }122 123 [StorableHook(HookType.AfterDeserialization)]124 private void AfterDeserialization() {125 // BackwardsCompatibility3.3126 #region Backwards compatible code, remove with 3.4127 if (!Parameters.ContainsKey("ReevaluateElites")) {128 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)"));129 }130 #endregion131 118 } 132 119 … … 142 129 Parameters.Add(new ValueLookupParameter<IOperator>("Evaluator", "The operator used to evaluate solutions. This operator is executed in parallel, if an engine is used which supports parallelization.")); 143 130 Parameters.Add(new ValueLookupParameter<IntValue>("Elites", "The numer of elite solutions which are kept in each generation.")); 144 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)"));145 131 Parameters.Add(new ValueLookupParameter<IntValue>("MaximumGenerations", "The maximum number of generations which should be processed.")); 146 132 Parameters.Add(new ValueLookupParameter<VariableCollection>("Results", "The variable collection where results should be stored.")); … … 204 190 Assigner assigner4 = new Assigner(); 205 191 Assigner assigner5 = new Assigner(); 206 ConditionalBranch reevaluateElitesBranch = new ConditionalBranch();207 UniformSubScopesProcessor uniformSubScopesProcessor2 = new UniformSubScopesProcessor();208 Placeholder evaluator2 = new Placeholder();209 SubScopesCounter subScopesCounter4 = new SubScopesCounter();210 192 211 193 variableCreator.CollectedValues.Add(new ValueParameter<IntValue>("Generations", new IntValue(0))); // Class RAPGA expects this to be called Generations … … 356 338 assigner5.LeftSideParameter.ActualName = "OffspringList"; 357 339 assigner5.RightSideParameter.Value = new ScopeList(); 358 359 reevaluateElitesBranch.ConditionParameter.ActualName = "ReevaluateElites";360 reevaluateElitesBranch.Name = "Reevaluate elites ?";361 362 uniformSubScopesProcessor2.Parallel.Value = true;363 364 evaluator2.Name = "Evaluator (placeholder)";365 evaluator2.OperatorParameter.ActualName = EvaluatorParameter.Name;366 367 subScopesCounter4.Name = "Increment EvaluatedSolutions";368 subScopesCounter4.ValueParameter.ActualName = EvaluatedSolutionsParameter.Name;369 340 #endregion 370 341 … … 407 378 subScopesProcessor2.Successor = mergingReducer; 408 379 bestSelector.Successor = rightReducer2; 409 rightReducer2.Successor = reevaluateElitesBranch; 410 reevaluateElitesBranch.TrueBranch = uniformSubScopesProcessor2; 411 uniformSubScopesProcessor2.Operator = evaluator2; 412 uniformSubScopesProcessor2.Successor = subScopesCounter4; 413 evaluator2.Successor = null; 414 subScopesCounter4.Successor = null; 415 reevaluateElitesBranch.FalseBranch = null; 416 reevaluateElitesBranch.Successor = null; 380 rightReducer2.Successor = null; 417 381 scopeCleaner.Successor = scopeRestorer; 418 382 mergingReducer.Successor = intCounter3; -
branches/HiveStatistics/sources/HeuristicLab.Algorithms.RAPGA/3.3/ScopeRestorer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 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.