Changeset 12969 for branches/gteufl/HeuristicLab.Problems.LawnMower
- Timestamp:
- 09/25/15 14:39:59 (9 years ago)
- Location:
- branches/gteufl
- Files:
-
- 1 deleted
- 17 edited
- 1 copied
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.Problems.LawnMower
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/HLScript/HeuristicLab.Problems.LawnMower merged eligible /branches/HiveStatistics/sources/HeuristicLab.Problems.LawnMower merged eligible /stable/HeuristicLab.Problems.LawnMower merged eligible /trunk/sources/HeuristicLab.Problems.LawnMower merged eligible /branches/1721-RandomForestPersistence/HeuristicLab.Problems.LawnMower 10321-10322 /branches/Algorithms.GradientDescent/HeuristicLab.Problems.LawnMower 5516-5520 /branches/Benchmarking/sources/HeuristicLab.Problems.LawnMower 6917-7005 /branches/CloningRefactoring/HeuristicLab.Problems.LawnMower 4656-4721 /branches/CodeEditor/HeuristicLab.Problems.LawnMower 11700-11806 /branches/DataAnalysis Refactoring/HeuristicLab.Problems.LawnMower 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Problems.LawnMower 5815-6180 /branches/DataAnalysis/HeuristicLab.Problems.LawnMower 4458-4459,4462,4464 /branches/DataPreprocessing/HeuristicLab.Problems.LawnMower 10085-11101 /branches/GP.Grammar.Editor/HeuristicLab.Problems.LawnMower 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Problems.LawnMower 5060 /branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Problems.LawnMower 11570-12508 /branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.Problems.LawnMower 6123-9799 /branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.LawnMower 11130-12721 /branches/LogResidualEvaluator/HeuristicLab.Problems.LawnMower 10202-10483 /branches/NET40/sources/HeuristicLab.Problems.LawnMower 5138-5162 /branches/NSGA-II Changes/HeuristicLab.Problems.LawnMower 12033-12122 /branches/ParallelEngine/HeuristicLab.Problems.LawnMower 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.LawnMower 7568-7810 /branches/QAPAlgorithms/HeuristicLab.Problems.LawnMower 6350-6627 /branches/Restructure trunk solution/HeuristicLab.Problems.LawnMower 6828 /branches/RuntimeOptimizer/HeuristicLab.Problems.LawnMower 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.LawnMower 7787-8333 /branches/SlaveShutdown/HeuristicLab.Problems.LawnMower 8944-8956 /branches/SpectralKernelForGaussianProcesses/HeuristicLab.Problems.LawnMower 10204-10479 /branches/SuccessProgressAnalysis/HeuristicLab.Problems.LawnMower 5370-5682 /branches/SymbolicExpressionTreeEncoding/HeuristicLab.Problems.LawnMower 12344-12421 /branches/Trunk/HeuristicLab.Problems.LawnMower 6829-6865 /branches/UnloadJobs/HeuristicLab.Problems.LawnMower 9168-9215 /branches/VNS/HeuristicLab.Problems.LawnMower 5594-5752 /branches/histogram/HeuristicLab.Problems.LawnMower 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/BestSolutionAnalyzer.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Evaluator.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. … … 32 32 [StorableClass] 33 33 [Item("Lawn Mower Evaluator", "Evaluator for the lawn mower demo GP problem.")] 34 public class Evaluator : SingleSuccessorOperator, ISingleObjectiveEvaluator {34 public class Evaluator : InstrumentedOperator, ISingleObjectiveEvaluator { 35 35 36 36 private const string QualityParameterName = "Quality"; … … 72 72 return new Evaluator(this, cloner); 73 73 } 74 public override IOperation Apply() {74 public override IOperation InstrumentedApply() { 75 75 int length = LawnLengthParameter.ActualValue.Value; 76 76 int width = LawnWidthParameter.ActualValue.Value; … … 88 88 89 89 QualityParameter.ActualValue = new DoubleValue(numberOfMowedCells); 90 return base. Apply();90 return base.InstrumentedApply(); 91 91 } 92 92 } -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Grammar.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Interpreter.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. … … 54 54 lawn[mowerState.Position.Item1, mowerState.Position.Item2] = true; 55 55 EvaluateLawnMowerProgram(tree.Root, mowerState, lawn, tree.Root.Subtrees.Skip(1).ToArray()); 56 57 56 return lawn; 58 57 } … … 115 114 } else if (node.Symbol is Frog) { 116 115 var p = EvaluateLawnMowerProgram(node.GetSubtree(0), mowerState, lawn, adfs); 117 118 uint newRow = (uint)((mowerState.Position.Item1 + lawn.GetLength(0) + p.Item1 % lawn.GetLength(0)) % lawn.GetLength(0)); 119 uint newCol = (uint)((mowerState.Position.Item2 + lawn.GetLength(1) + p.Item2 % lawn.GetLength(1)) % lawn.GetLength(1)); 116 int x = p.Item1; 117 int y = p.Item2; 118 while (x < 0) x += lawn.GetLength(0); 119 while (y < 0) y += lawn.GetLength(1); 120 var newRow = (uint)((mowerState.Position.Item1 + x) % lawn.GetLength(0)); 121 var newCol = (uint)((mowerState.Position.Item2 + y) % lawn.GetLength(1)); 120 122 mowerState.Position = new Tuple<uint, uint>(newRow, newCol); 121 123 mowerState.Energy = mowerState.Energy - 1; … … 130 132 select adf).Single(); 131 133 // clone the function definition because we are replacing the argument nodes 132 functionDefinition = (DefunTreeNode) 134 functionDefinition = (DefunTreeNode)functionDefinition.Clone(); 133 135 // find the argument tree nodes and their parents in the original function definition 134 136 // toList is necessary to prevent that newly inserted branches are iterated -
branches/gteufl/HeuristicLab.Problems.LawnMower/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.Problems.LawnMower { 25 [Plugin("HeuristicLab.Problems.LawnMower", "Lawn mower demo problem for genetic programming", "3.3. 9.$WCREV$")]25 [Plugin("HeuristicLab.Problems.LawnMower", "Lawn mower demo problem for genetic programming", "3.3.12.$WCREV$")] 26 26 [PluginFile("HeuristicLab.Problems.LawnMower-3.3.dll", PluginFileType.Assembly)] 27 27 [PluginDependency("HeuristicLab.Collections", "3.3")] -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Problem.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. … … 33 33 namespace HeuristicLab.Problems.LawnMower { 34 34 [StorableClass] 35 [Creatable("Problems")]36 35 [Item("Lawn Mower Problem", "The lawn mower demo problem for genetic programming.")] 37 36 public class Problem : SingleObjectiveHeuristicOptimizationProblem<Evaluator, ISymbolicExpressionTreeCreator> { … … 86 85 new Grammar())); 87 86 Maximization.Value = true; 87 88 GrammarParameter.Value.MaximumFunctionDefinitions = MaxFunctionDefinitionsParameter.Value.Value; 89 GrammarParameter.Value.MaximumFunctionArguments = MaxArgumentDefinitionsParameter.Value.Value; 90 88 91 InitializeOperators(); 89 90 92 RegisterEventHandlers(); 91 93 } … … 182 184 foreach (var op in operators.OfType<ISymbolicExpressionTreeCrossover>()) { 183 185 op.ParentsParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 184 op. ChildParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName;186 op.SymbolicExpressionTreeParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 185 187 } 186 188 foreach (var op in operators.OfType<ISymbolicExpressionTreeManipulator>()) { -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Properties/AssemblyInfo.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. … … 31 31 [assembly: AssemblyCompany("")] 32 32 [assembly: AssemblyProduct("HeuristicLab")] 33 [assembly: AssemblyCopyright("(c) 2002-201 3HEAL")]33 [assembly: AssemblyCopyright("(c) 2002-2015 HEAL")] 34 34 [assembly: AssemblyTrademark("")] 35 35 [assembly: AssemblyCulture("")] … … 54 54 // [assembly: AssemblyVersion("1.0.*")] 55 55 [assembly: AssemblyVersion("3.3.0.0")] 56 [assembly: AssemblyFileVersion("3.3. 9.$WCREV$")]56 [assembly: AssemblyFileVersion("3.3.12.$WCREV$")] -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Solution.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Symbols/Constant.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Symbols/ConstantTreeNode.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Symbols/Forward.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Symbols/Frog.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Symbols/Left.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Symbols/Prog.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. -
branches/gteufl/HeuristicLab.Problems.LawnMower/3.3/Symbols/Sum.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.
Note: See TracChangeset
for help on using the changeset viewer.