- Timestamp:
- 07/10/15 12:02:20 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12422,12424,12480-12482
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.GrammaticalEvolution
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/stable/HeuristicLab.Problems.GrammaticalEvolution merged eligible /trunk/sources/HeuristicLab.Problems.GrammaticalEvolution merged eligible /branches/1721-RandomForestPersistence/HeuristicLab.Problems.GrammaticalEvolution 10321-10322 /branches/Algorithms.GradientDescent/HeuristicLab.Problems.GrammaticalEvolution 5516-5520 /branches/Benchmarking/sources/HeuristicLab.Problems.GrammaticalEvolution 6917-7005 /branches/CloningRefactoring/HeuristicLab.Problems.GrammaticalEvolution 4656-4721 /branches/CodeEditor/HeuristicLab.Problems.GrammaticalEvolution 11700-11806 /branches/DataAnalysis Refactoring/HeuristicLab.Problems.GrammaticalEvolution 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Problems.GrammaticalEvolution 5815-6180 /branches/DataAnalysis/HeuristicLab.Problems.GrammaticalEvolution 4458-4459,4462,4464 /branches/DataPreprocessing/HeuristicLab.Problems.GrammaticalEvolution 10085-11101 /branches/GP.Grammar.Editor/HeuristicLab.Problems.GrammaticalEvolution 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Problems.GrammaticalEvolution 5060 /branches/HLScript/HeuristicLab.Problems.GrammaticalEvolution 10331-10358 /branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.Problems.GrammaticalEvolution 6123-9799 /branches/LogResidualEvaluator/HeuristicLab.Problems.GrammaticalEvolution 10202-10483 /branches/NET40/sources/HeuristicLab.Problems.GrammaticalEvolution 5138-5162 /branches/NSGA-II Changes/HeuristicLab.Problems.GrammaticalEvolution 12033-12122 /branches/ParallelEngine/HeuristicLab.Problems.GrammaticalEvolution 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.GrammaticalEvolution 7568-7810 /branches/QAPAlgorithms/HeuristicLab.Problems.GrammaticalEvolution 6350-6627 /branches/Restructure trunk solution/HeuristicLab.Problems.GrammaticalEvolution 6828 /branches/RuntimeOptimizer/HeuristicLab.Problems.GrammaticalEvolution 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.GrammaticalEvolution 7787-8333 /branches/SlaveShutdown/HeuristicLab.Problems.GrammaticalEvolution 8944-8956 /branches/SpectralKernelForGaussianProcesses/HeuristicLab.Problems.GrammaticalEvolution 10204-10479 /branches/SuccessProgressAnalysis/HeuristicLab.Problems.GrammaticalEvolution 5370-5682 /branches/SymbolicExpressionTreeEncoding/HeuristicLab.Problems.GrammaticalEvolution 12340-12421 /branches/Trunk/HeuristicLab.Problems.GrammaticalEvolution 6829-6865 /branches/UnloadJobs/HeuristicLab.Problems.GrammaticalEvolution 9168-9215 /branches/VNS/HeuristicLab.Problems.GrammaticalEvolution 5594-5752 /branches/histogram/HeuristicLab.Problems.GrammaticalEvolution 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
stable/HeuristicLab.Problems.GrammaticalEvolution/3.3/ArtificialAnt/GEArtificialAntEvaluator.cs
r12009 r12706 49 49 } 50 50 // phenotype: 51 public ILookupParameter< SymbolicExpressionTree> SymbolicExpressionTreeParameter {52 get { return (ILookupParameter< SymbolicExpressionTree>)Parameters["SymbolicExpressionTree"]; }51 public ILookupParameter<ISymbolicExpressionTree> SymbolicExpressionTreeParameter { 52 get { return (ILookupParameter<ISymbolicExpressionTree>)Parameters["SymbolicExpressionTree"]; } 53 53 } 54 54 public ILookupParameter<BoolMatrix> WorldParameter { … … 84 84 Parameters.Add(new LookupParameter<DoubleValue>("Quality", "The quality of the evaluated artificial ant solution.")); 85 85 Parameters.Add(new LookupParameter<IntegerVector>("IntegerVector", "The artificial ant solution encoded as an integer vector genome.")); 86 Parameters.Add(new LookupParameter< SymbolicExpressionTree>("SymbolicExpressionTree", "The artificial ant solution encoded as a symbolic expression tree that should be evaluated"));86 Parameters.Add(new LookupParameter<ISymbolicExpressionTree>("SymbolicExpressionTree", "The artificial ant solution encoded as a symbolic expression tree that should be evaluated")); 87 87 Parameters.Add(new LookupParameter<BoolMatrix>("World", "The world for the artificial ant with scattered food items.")); 88 88 Parameters.Add(new LookupParameter<IntValue>("MaxTimeSteps", "The maximal number of time steps that the artificial ant should be simulated.")); … … 93 93 Parameters.Add(new LookupParameter<IntMatrix>("Bounds", "The integer number range in which the single genomes of a genotype are created.")); 94 94 Parameters.Add(new LookupParameter<IntValue>("MaximumExpressionLength", "Maximal length of the expression to control the artificial ant (genotype length).")); 95 } 96 97 [StorableHook(HookType.AfterDeserialization)] 98 private void AfterDeserialization() { 99 // BackwardsCompatibility3.3 100 #region Backwards compatible code, remove with 3.4 101 102 if (Parameters.ContainsKey("SymbolicExpressionTree") && 103 Parameters["SymbolicExpressionTree"] is ILookupParameter<SymbolicExpressionTree>) { 104 var previousActualName = ((ILookupParameter<SymbolicExpressionTree>)Parameters["SymbolicExpressionTree"]).ActualName; 105 Parameters.Remove("SymbolicExpressionTree"); 106 Parameters.Add(new LookupParameter<ISymbolicExpressionTree>("SymbolicExpressionTree", "The artificial ant solution encoded as a symbolic expression tree that should be evaluated", previousActualName)); 107 } 108 109 #endregion 110 95 111 } 96 112
Note: See TracChangeset
for help on using the changeset viewer.