Changeset 12064
- Timestamp:
- 02/23/15 18:15:36 (10 years ago)
- Location:
- branches/SymbolicExpressionTreeDiversityAnalyzers
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationPhenotypicDiversityAnalyzer.cs
r12049 r12064 68 68 69 69 #region properties 70 p rivatebool UseClassValues {70 public bool UseClassValues { 71 71 get { return UseClassValuesParameter.Value.Value; } 72 72 set { UseClassValuesParameter.Value.Value = value; } … … 75 75 76 76 public SymbolicClassificationPhenotypicDiversityAnalyzer() { 77 SimilarityCalculator = new SymbolicExpressionTreePhenotypicSimilarityCalculator { SolutionVariableName = "SymbolicExpressionTree", QualityVariableName = "Quality" };77 SimilarityCalculator = new SymbolicExpressionTreePhenotypicSimilarityCalculator() { SolutionVariableName = "SymbolicExpressionTree", QualityVariableName = "Quality" }; 78 78 #region add parameters 79 79 Parameters.Add(new ScopeTreeLookupParameter<ISymbolicExpressionTree>(SymbolicExpressionTreeParameterName, "The symbolic expression trees.")); -
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveBoundedMeanSquaredErrorEvaluator.cs
r12012 r12064 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 30 31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification .SingleObjective{31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { 32 32 [Item("Bounded Mean squared error Evaluator", "Calculates the bounded mean squared error of a symbolic classification solution (estimations above or below the class values are only penaltilized linearly.")] 33 33 [StorableClass] -
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Analyzers/SymbolicDataAnalysisBottomUpDiversityAnalyzer.cs
r12029 r12064 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 26 27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic .Analyzers{27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 28 28 [Item("SymbolicDataAnalysisBottomUpDiversityAnalyzer", "A diversity analyzer based on the bottom-up distance between trees.")] 29 29 [StorableClass] -
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Creators/MultiSymbolicDataAnalysisExpressionCreator.cs
r12028 r12064 34 34 using HeuristicLab.PluginInfrastructure; 35 35 36 namespace HeuristicLab.Problems.DataAnalysis.Symbolic .Creators{36 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 37 37 public class MultiSymbolicDataAnalysisExpressionCreator : StochasticMultiBranch<ISymbolicDataAnalysisSolutionCreator>, 38 38 ISymbolicDataAnalysisSolutionCreator, -
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r12049 r12064 32 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 33 using HeuristicLab.PluginInfrastructure; 34 using HeuristicLab.Problems.DataAnalysis.Symbolic.Analyzers;35 34 using HeuristicLab.Problems.Instances; 36 35 -
branches/SymbolicExpressionTreeDiversityAnalyzers/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreePhenotypicSimilarityCalculator.cs
r12055 r12064 31 31 [StorableClass] 32 32 public class SymbolicExpressionTreePhenotypicSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 33 [Storable] 33 34 public IDataAnalysisProblemData ProblemData { get; set; } 35 [Storable] 34 36 public ISymbolicDataAnalysisExpressionTreeInterpreter Interpreter { get; set; } 35 37 … … 39 41 public SymbolicExpressionTreePhenotypicSimilarityCalculator(SymbolicExpressionTreePhenotypicSimilarityCalculator original, Cloner cloner) 40 42 : base(original, cloner) { 41 this.ProblemData = original.ProblemData;42 this.Interpreter = original.Interpreter;43 this.ProblemData = cloner.Clone(original.ProblemData); 44 this.Interpreter = cloner.Clone(original.Interpreter); 43 45 } 44 46 … … 47 49 } 48 50 49 public SymbolicExpressionTreePhenotypicSimilarityCalculator() { } 51 public SymbolicExpressionTreePhenotypicSimilarityCalculator() { 52 } 50 53 51 54 public double CalculateSimilarity(ISymbolicExpressionTree t1, ISymbolicExpressionTree t2) {
Note: See TracChangeset
for help on using the changeset viewer.