Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/ArtificialAnt/GEArtificialAntProblem.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 using HeuristicLab.Problems.GeneticProgramming.ArtificialAnt; 33 33 using HeuristicLab.Problems.GrammaticalEvolution.Mappers; … … 37 37 [Item("Grammatical Evolution Artificial Ant Problem (GE)", "Represents the Artificial Ant problem, implemented in Grammatical Evolution.")] 38 38 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 170)] 39 [Storable Class]39 [StorableType("B6F0EBC4-FA3B-42E6-958F-404FA89C81FA")] 40 40 public sealed class GEArtificialAntProblem : SingleObjectiveBasicProblem<IntegerVectorEncoding>, IStorableContent { 41 41 … … 64 64 65 65 [StorableConstructor] 66 private GEArtificialAntProblem( bool deserializing) : base(deserializing) { }66 private GEArtificialAntProblem(StorableConstructorFlag _) : base(_) { } 67 67 [StorableHook(HookType.AfterDeserialization)] 68 68 private void AfterDeserialization() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/HeuristicLab.Problems.GrammaticalEvolution-3.4.csproj
r16454 r16462 108 108 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 109 109 </Reference> 110 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">110 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 111 111 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 112 112 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/Mappers/BreathFirstMapper.cs
r16453 r16462 29 29 using HeuristicLab.Encodings.IntegerVectorEncoding; 30 30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.GrammaticalEvolution { … … 36 36 /// </summary> 37 37 [Item("BreathFirstMapper", "Resolves the non-terminal symbols of the resulting phenotypic syntax tree in a breath-first manner.")] 38 [Storable Class]38 [StorableType("7E8D7511-83C3-4F12-8883-BD20FCB58986")] 39 39 public class BreathFirstMapper : GenotypeToPhenotypeMapper { 40 40 41 41 [StorableConstructor] 42 protected BreathFirstMapper( bool deserializing) : base(deserializing) { }42 protected BreathFirstMapper(StorableConstructorFlag _) : base(_) { } 43 43 protected BreathFirstMapper(BreathFirstMapper original, Cloner cloner) : base(original, cloner) { } 44 44 public BreathFirstMapper() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/Mappers/DepthFirstMapper.cs
r16453 r16462 30 30 using HeuristicLab.Encodings.IntegerVectorEncoding; 31 31 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 34 34 namespace HeuristicLab.Problems.GrammaticalEvolution { … … 37 37 /// </summary> 38 38 [Item("DepthFirstMapper", "Resolves the non-terminal symbols of the resulting phenotypic syntax tree in a depth-first manner.")] 39 [Storable Class]39 [StorableType("9FACB397-FB99-4858-8962-DBB1FE16C54B")] 40 40 public class DepthFirstMapper : GenotypeToPhenotypeMapper { 41 41 42 42 [StorableConstructor] 43 protected DepthFirstMapper( bool deserializing) : base(deserializing) { }43 protected DepthFirstMapper(StorableConstructorFlag _) : base(_) { } 44 44 protected DepthFirstMapper(DepthFirstMapper original, Cloner cloner) : base(original, cloner) { } 45 45 public DepthFirstMapper() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/Mappers/GenotypeToPhenotypeMapper.cs
r16453 r16462 29 29 using HeuristicLab.Encodings.IntegerVectorEncoding; 30 30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 using HeuristicLab.Problems.GrammaticalEvolution.Mappers; 33 33 using HeuristicLab.Random; … … 37 37 /// Abstract base class for GenotypeToPhenotypeMappers 38 38 /// </summary> 39 [Storable Class]39 [StorableType("427C4EB7-7888-4AB2-824A-E1F2EB1DE2FA")] 40 40 public abstract class GenotypeToPhenotypeMapper : IntegerVectorOperator, IGenotypeToPhenotypeMapper { 41 41 42 42 [StorableConstructor] 43 protected GenotypeToPhenotypeMapper( bool deserializing) : base(deserializing) { }43 protected GenotypeToPhenotypeMapper(StorableConstructorFlag _) : base(_) { } 44 44 protected GenotypeToPhenotypeMapper(GenotypeToPhenotypeMapper original, Cloner cloner) : base(original, cloner) { } 45 45 protected GenotypeToPhenotypeMapper() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/Mappers/PIGEMapper.cs
r16453 r16462 28 28 using HeuristicLab.Encodings.IntegerVectorEncoding; 29 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Problems.GrammaticalEvolution { … … 68 68 /// </remarks> 69 69 [Item("PIGEMapper", "Position Independent (PI) Grammatical Evolution Mapper")] 70 [Storable Class]70 [StorableType("AFD85902-C2EA-47F5-8284-BA1759848580")] 71 71 public class PIGEMapper : GenotypeToPhenotypeMapper { 72 72 … … 86 86 87 87 [StorableConstructor] 88 protected PIGEMapper( bool deserializing) : base(deserializing) { }88 protected PIGEMapper(StorableConstructorFlag _) : base(_) { } 89 89 protected PIGEMapper(PIGEMapper original, Cloner cloner) : base(original, cloner) { } 90 90 public PIGEMapper() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/Mappers/RandomMapper.cs
r16453 r16462 28 28 using HeuristicLab.Encodings.IntegerVectorEncoding; 29 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.Random; 32 32 … … 36 36 /// </summary> 37 37 [Item("RandomMapper", "Randomly determines the next non-terminal symbol to expand.")] 38 [Storable Class]38 [StorableType("FD52470F-EA9A-4E95-8DE0-66C9B9F5F4EB")] 39 39 public class RandomMapper : GenotypeToPhenotypeMapper { 40 40 41 41 [StorableConstructor] 42 protected RandomMapper( bool deserializing) : base(deserializing) { }42 protected RandomMapper(StorableConstructorFlag _) : base(_) { } 43 43 protected RandomMapper(RandomMapper original, Cloner cloner) : base(original, cloner) { } 44 44 public RandomMapper() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicDataAnalysisEvaluator.cs
r16453 r16462 22 22 #endregion 23 23 24 using System;25 using System.Collections.Generic;26 using System.Linq;27 24 using HeuristicLab.Common; 28 25 using HeuristicLab.Core; … … 33 30 using HeuristicLab.Optimization; 34 31 using HeuristicLab.Parameters; 35 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 36 33 using HeuristicLab.Problems.DataAnalysis; 37 34 using HeuristicLab.Problems.DataAnalysis.Symbolic; 38 35 using HeuristicLab.Problems.GrammaticalEvolution.Mappers; 39 using HeuristicLab.Random;40 36 41 37 namespace HeuristicLab.Problems.GrammaticalEvolution { 42 [Storable Class]38 [StorableType("3E723725-9141-4259-BB1D-BACE36657086")] 43 39 public abstract class GESymbolicDataAnalysisEvaluator<T> : SingleSuccessorOperator, 44 40 IGESymbolicDataAnalysisEvaluator<T>, ISymbolicDataAnalysisInterpreterOperator, ISymbolicDataAnalysisBoundedOperator, IStochasticOperator … … 106 102 107 103 [StorableConstructor] 108 protected GESymbolicDataAnalysisEvaluator( bool deserializing) : base(deserializing) { }104 protected GESymbolicDataAnalysisEvaluator(StorableConstructorFlag _) : base(_) { } 109 105 protected GESymbolicDataAnalysisEvaluator(GESymbolicDataAnalysisEvaluator<T> original, Cloner cloner) 110 106 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicDataAnalysisProblem.cs
r16453 r16462 34 34 using HeuristicLab.Optimization; 35 35 using HeuristicLab.Parameters; 36 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;36 using HEAL.Fossil; 37 37 using HeuristicLab.PluginInfrastructure; 38 38 using HeuristicLab.Problems.DataAnalysis; … … 42 42 43 43 namespace HeuristicLab.Problems.GrammaticalEvolution { 44 [Storable Class]44 [StorableType("E31AC1E8-590D-4D65-883F-3113544B6C91")] 45 45 public abstract class GESymbolicDataAnalysisProblem<T, U, V> : HeuristicOptimizationProblem<U, V>, IDataAnalysisProblem<T>, 46 46 IGESymbolicDataAnalysisProblem, IStorableContent, … … 150 150 151 151 [StorableConstructor] 152 protected GESymbolicDataAnalysisProblem( bool deserializing) : base(deserializing) { }152 protected GESymbolicDataAnalysisProblem(StorableConstructorFlag _) : base(_) { } 153 153 [StorableHook(HookType.AfterDeserialization)] 154 154 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicDataAnalysisSingleObjectiveEvaluator.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 32 32 namespace HeuristicLab.Problems.GrammaticalEvolution { 33 [Storable Class]33 [StorableType("BEC10226-1F0C-4D42-ABDF-38E604C0B2F2")] 34 34 public abstract class GESymbolicDataAnalysisSingleObjectiveEvaluator<T> : GESymbolicDataAnalysisEvaluator<T>, IGESymbolicDataAnalysisSingleObjectiveEvaluator<T> 35 35 where T : class, IDataAnalysisProblemData { … … 44 44 #endregion 45 45 [StorableConstructor] 46 protected GESymbolicDataAnalysisSingleObjectiveEvaluator( bool deserializing) : base(deserializing) { }46 protected GESymbolicDataAnalysisSingleObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 47 47 protected GESymbolicDataAnalysisSingleObjectiveEvaluator(GESymbolicDataAnalysisSingleObjectiveEvaluator<T> original, Cloner cloner) 48 48 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicDataAnalysisSingleObjectiveProblem.cs
r16453 r16462 30 30 using HeuristicLab.Optimization; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 using HeuristicLab.Problems.DataAnalysis; 34 34 using HeuristicLab.Problems.DataAnalysis.Symbolic; 35 35 36 36 namespace HeuristicLab.Problems.GrammaticalEvolution { 37 [Storable Class]37 [StorableType("27E01C21-6772-4CE5-8301-EF3102D1BB28")] 38 38 public abstract class GESymbolicDataAnalysisSingleObjectiveProblem<T, U, V> : GESymbolicDataAnalysisProblem<T, U, V>, 39 39 IGESymbolicDataAnalysisSingleObjectiveProblem … … 72 72 73 73 [StorableConstructor] 74 protected GESymbolicDataAnalysisSingleObjectiveProblem( bool deserializing) : base(deserializing) { }74 protected GESymbolicDataAnalysisSingleObjectiveProblem(StorableConstructorFlag _) : base(_) { } 75 75 protected GESymbolicDataAnalysisSingleObjectiveProblem(GESymbolicDataAnalysisSingleObjectiveProblem<T, U, V> original, Cloner cloner) 76 76 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicExpressionGrammar.cs
r16453 r16462 28 28 using HeuristicLab.Core; 29 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.Problems.DataAnalysis.Symbolic; 32 32 using HeuristicLab.Random; 33 33 34 34 namespace HeuristicLab.Problems.GrammaticalEvolution { 35 [Storable Class]35 [StorableType("73D43A23-02FF-4BD8-9834-55D8A90E0FCE")] 36 36 [Item("GESymbolicExpressionGrammar", "Represents a grammar for functional expressions for grammatical evolution.")] 37 37 public class GESymbolicExpressionGrammar : SymbolicExpressionGrammar, ISymbolicDataAnalysisGrammar { 38 38 [StorableConstructor] 39 protected GESymbolicExpressionGrammar( bool deserializing) : base(deserializing) { }39 protected GESymbolicExpressionGrammar(StorableConstructorFlag _) : base(_) { } 40 40 protected GESymbolicExpressionGrammar(GESymbolicExpressionGrammar original, Cloner cloner) : base(original, cloner) { } 41 41 public GESymbolicExpressionGrammar() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicRegressionSingleObjectiveEvaluator.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 using HeuristicLab.Problems.DataAnalysis; 31 31 using HeuristicLab.Problems.DataAnalysis.Symbolic.Regression; 32 32 33 33 namespace HeuristicLab.Problems.GrammaticalEvolution { 34 [Storable Class]34 [StorableType("85880E49-DE2F-4FB4-8C1E-F1C51D862FDF")] 35 35 public class GESymbolicRegressionSingleObjectiveEvaluator : GESymbolicDataAnalysisSingleObjectiveEvaluator<IRegressionProblemData>, 36 36 IGESymbolicRegressionSingleObjectiveEvaluator { … … 57 57 58 58 [StorableConstructor] 59 protected GESymbolicRegressionSingleObjectiveEvaluator( bool deserializing) : base(deserializing) { }59 protected GESymbolicRegressionSingleObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 60 60 protected GESymbolicRegressionSingleObjectiveEvaluator(GESymbolicRegressionSingleObjectiveEvaluator original, Cloner cloner) : base(original, cloner) { } 61 61 public GESymbolicRegressionSingleObjectiveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicRegressionSingleObjectiveProblem.cs
r16453 r16462 28 28 using HeuristicLab.Encodings.IntegerVectorEncoding; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.Problems.DataAnalysis; 32 32 using HeuristicLab.Problems.DataAnalysis.Symbolic; … … 36 36 [Item("Grammatical Evolution Symbolic Regression Problem (GE)", 37 37 "Represents grammatical evolution for single objective symbolic regression problems.")] 38 [Storable Class]38 [StorableType("65208F51-3181-4765-BA04-33CADBCE0826")] 39 39 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 180)] 40 40 public class GESymbolicRegressionSingleObjectiveProblem : GESymbolicDataAnalysisSingleObjectiveProblem<IRegressionProblemData, IGESymbolicRegressionSingleObjectiveEvaluator, IIntegerVectorCreator>, … … 57 57 #endregion 58 58 [StorableConstructor] 59 protected GESymbolicRegressionSingleObjectiveProblem( bool deserializing) : base(deserializing) { }59 protected GESymbolicRegressionSingleObjectiveProblem(StorableConstructorFlag _) : base(_) { } 60 60 protected GESymbolicRegressionSingleObjectiveProblem(GESymbolicRegressionSingleObjectiveProblem original, Cloner cloner) 61 61 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.