- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/MultiSymbolicDataAnalysisExpressionCrossover.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 30 30 using HeuristicLab.Optimization; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Attic; 33 33 using HeuristicLab.PluginInfrastructure; 34 34 35 35 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 36 36 [Item("MultiSymbolicDataAnalysisExpressionCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 37 [Storable Class]37 [StorableType("AD80D64F-64E6-42F7-B1D3-AFDE6AF96EC4")] 38 38 public class MultiSymbolicDataAnalysisExpressionCrossover<T> : StochasticMultiBranch<ISymbolicExpressionTreeCrossover>, 39 39 ISymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { … … 87 87 88 88 [StorableConstructor] 89 protected MultiSymbolicDataAnalysisExpressionCrossover( bool deserializing) : base(deserializing) { }89 protected MultiSymbolicDataAnalysisExpressionCrossover(StorableConstructorFlag _) : base(_) { } 90 90 protected MultiSymbolicDataAnalysisExpressionCrossover(MultiSymbolicDataAnalysisExpressionCrossover<T> original, Cloner cloner) : base(original, cloner) { } 91 91 public override IDeepCloneable Clone(Cloner cloner) { return new MultiSymbolicDataAnalysisExpressionCrossover<T>(this, cloner); } -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionContextAwareCrossover.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.Random; 30 30 … … 34 34 "- Randomly choose a node N from P1\n" + 35 35 "- Test all crossover points from P0 to determine the best location for N to be inserted")] 36 [Storable Class]36 [StorableType("D4D1995A-6C51-4B41-AE08-43029AC9CF72")] 37 37 public sealed class SymbolicDataAnalysisExpressionContextAwareCrossover<T> : SymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { 38 38 [StorableConstructor] 39 private SymbolicDataAnalysisExpressionContextAwareCrossover( bool deserializing) : base(deserializing) { }39 private SymbolicDataAnalysisExpressionContextAwareCrossover(StorableConstructorFlag _) : base(_) { } 40 40 private SymbolicDataAnalysisExpressionContextAwareCrossover(SymbolicDataAnalysisExpressionCrossover<T> original, Cloner cloner) 41 41 : base(original, cloner) { -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionCrossover.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.Random; 32 32 33 33 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 34 [Storable Class]34 [StorableType("B53649DF-A760-4087-A496-BFD3F13DA31C")] 35 35 public abstract class SymbolicDataAnalysisExpressionCrossover<T> : SymbolicExpressionTreeCrossover, ISymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { 36 36 private const string SymbolicDataAnalysisTreeInterpreterParameterName = "SymbolicExpressionTreeInterpreter"; … … 76 76 77 77 [StorableConstructor] 78 protected SymbolicDataAnalysisExpressionCrossover( bool deserializing) : base(deserializing) { }78 protected SymbolicDataAnalysisExpressionCrossover(StorableConstructorFlag _) : base(_) { } 79 79 protected SymbolicDataAnalysisExpressionCrossover(SymbolicDataAnalysisExpressionCrossover<T> original, Cloner cloner) 80 80 : base(original, cloner) { -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionDepthConstrainedCrossover.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.Random; 32 32 … … 36 36 "- Standard (mid 50% of the tree)\n" + 37 37 "- LowLevel (lower 25% of the tree)")] 38 [Storable Class]38 [StorableType("E48D1FEB-8D3F-4394-9AD4-7C4A24116FD4")] 39 39 public sealed class SymbolicDataAnalysisExpressionDepthConstrainedCrossover<T> : 40 40 SymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { 41 [StorableType("24941bf7-da85-44e9-9e01-44c285ac41c3")] 41 42 private enum Ranges { HighLevel, Standard, LowLevel }; 42 43 private const string DepthRangeParameterName = "DepthRange"; … … 55 56 56 57 [StorableConstructor] 57 private SymbolicDataAnalysisExpressionDepthConstrainedCrossover( bool deserializing) : base(deserializing) { }58 private SymbolicDataAnalysisExpressionDepthConstrainedCrossover(StorableConstructorFlag _) : base(_) { } 58 59 private SymbolicDataAnalysisExpressionDepthConstrainedCrossover(SymbolicDataAnalysisExpressionCrossover<T> original, Cloner cloner) 59 60 : base(original, cloner) { } -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionDeterministicBestCrossover.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.Random; 30 30 … … 34 34 "- Randomly choose a crossover point C from P0\n" + 35 35 "- Test all nodes from P1 to determine the one that produces the best child when inserted at place C in P0")] 36 [Storable Class]36 [StorableType("BC019C69-AA9D-4E98-B366-274EFD7922C4")] 37 37 public sealed class SymbolicDataAnalysisExpressionDeterministicBestCrossover<T> : SymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { 38 38 [StorableConstructor] 39 private SymbolicDataAnalysisExpressionDeterministicBestCrossover( bool deserializing) : base(deserializing) { }39 private SymbolicDataAnalysisExpressionDeterministicBestCrossover(StorableConstructorFlag _) : base(_) { } 40 40 private SymbolicDataAnalysisExpressionDeterministicBestCrossover(SymbolicDataAnalysisExpressionCrossover<T> original, Cloner cloner) 41 41 : base(original, cloner) { -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionDiversityPreservingCrossover.cs
r17090 r17097 8 8 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 9 9 using HeuristicLab.Parameters; 10 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;10 using HEAL.Attic; 11 11 using HeuristicLab.Random; 12 12 using static HeuristicLab.Problems.DataAnalysis.Symbolic.SymbolicExpressionHashExtensions; … … 14 14 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 15 15 [Item("DiversityCrossover", "Simple crossover operator prioritizing internal nodes according to the given probability.")] 16 [Storable Class]16 [StorableType("ED35B0D9-9704-4D32-B10B-8F9870E76781")] 17 17 public sealed class SymbolicDataAnalysisExpressionDiversityPreservingCrossover<T> : SymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { 18 18 … … 66 66 67 67 [StorableConstructor] 68 private SymbolicDataAnalysisExpressionDiversityPreservingCrossover( bool deserializing) : base(deserializing) { }68 private SymbolicDataAnalysisExpressionDiversityPreservingCrossover(StorableConstructorFlag _) : base(_) { } 69 69 70 70 private static ISymbolicExpressionTreeNode ActualRoot(ISymbolicExpressionTree tree) { -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionProbabilisticFunctionalCrossover.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.Random; 30 30 … … 36 36 "\t\tD(N,M) = 0.5 * ( abs(max(N) - max(M)) + abs(min(N) - min(M)) )\n" + 37 37 "- Make a probabilistic weighted choice of node M from P1, based on the inversed and normalized behavioral distance")] 38 [Storable Class]38 [StorableType("EC1901B8-689B-4FC9-A79E-2778B3D0609E")] 39 39 public sealed class SymbolicDataAnalysisExpressionProbabilisticFunctionalCrossover<T> : SymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { 40 40 [StorableConstructor] 41 private SymbolicDataAnalysisExpressionProbabilisticFunctionalCrossover( bool deserializing) : base(deserializing) { }41 private SymbolicDataAnalysisExpressionProbabilisticFunctionalCrossover(StorableConstructorFlag _) : base(_) { } 42 42 private SymbolicDataAnalysisExpressionProbabilisticFunctionalCrossover(SymbolicDataAnalysisExpressionCrossover<T> original, Cloner cloner) 43 43 : base(original, cloner) { } -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/SymbolicDataAnalysisExpressionSemanticSimilarityCrossover.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Random; 31 31 … … 37 37 "- Find the first node M that satisfies the semantic similarity criteria\n" + 38 38 "- Swap N for M and return P0")] 39 [Storable Class]39 [StorableType("8AB40F60-5664-42AB-9DD9-78707476C1B2")] 40 40 public sealed class SymbolicDataAnalysisExpressionSemanticSimilarityCrossover<T> : SymbolicDataAnalysisExpressionCrossover<T> where T : class, IDataAnalysisProblemData { 41 41 private const string SemanticSimilarityRangeParameterName = "SemanticSimilarityRange"; … … 54 54 55 55 [StorableConstructor] 56 private SymbolicDataAnalysisExpressionSemanticSimilarityCrossover( bool deserializing) : base(deserializing) { }56 private SymbolicDataAnalysisExpressionSemanticSimilarityCrossover(StorableConstructorFlag _) : base(_) { } 57 57 private SymbolicDataAnalysisExpressionSemanticSimilarityCrossover(SymbolicDataAnalysisExpressionCrossover<T> original, Cloner cloner) : base(original, cloner) { } 58 58 public SymbolicDataAnalysisExpressionSemanticSimilarityCrossover()
Note: See TracChangeset
for help on using the changeset viewer.