- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Calculators/OnlineProfitCalculator.cs
r16692 r16723 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. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Calculators/OnlineSharpeRatioCalculator.cs
r16692 r16723 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. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/HeuristicLab.Problems.DataAnalysis.Trading-3.4.csproj
r11623 r16723 11 11 <RootNamespace>HeuristicLab.Problems.DataAnalysis.Trading</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Problems.DataAnalysis.Trading-3.4</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 223 223 </ProjectReference> 224 224 </ItemGroup> 225 <ItemGroup> 226 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 227 <SpecificVersion>False</SpecificVersion> 228 <HintPath>..\..\bin\HEAL.Attic.dll</HintPath> 229 <Private>False</Private> 230 </Reference> 231 </ItemGroup> 225 232 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 226 233 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/InstanceProviders/CsvProblemInstanceProvider.cs
r16692 r16723 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. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/InstanceProviders/EcbProblemInstanceProvider.cs
r16692 r16723 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. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Interfaces/IModel.cs
r16692 r16723 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. … … 21 21 22 22 using System.Collections.Generic; 23 using HEAL.Attic; 24 23 25 namespace HeuristicLab.Problems.DataAnalysis.Trading { 26 [StorableType("5eda7fa0-a735-4192-ac49-70232306c034")] 24 27 public interface IModel : IDataAnalysisModel { 25 28 IEnumerable<double> GetSignals(IDataset dataset, IEnumerable<int> rows); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Interfaces/IProblem.cs
r16692 r16723 1 #region License Information 1 using HEAL.Attic; 2 #region License Information 2 3 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 5 * 5 6 * This file is part of HeuristicLab. … … 21 22 22 23 namespace HeuristicLab.Problems.DataAnalysis.Trading { 24 [StorableType("b29a45ce-9e38-4f3f-8b2f-5075f7ce81a4")] 23 25 public interface IProblem : IDataAnalysisProblem<IProblemData> { 24 26 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Interfaces/IProblemData.cs
r16692 r16723 1 #region License Information 1 using HEAL.Attic; 2 #region License Information 2 3 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 5 * 5 6 * This file is part of HeuristicLab. … … 21 22 22 23 namespace HeuristicLab.Problems.DataAnalysis.Trading { 24 [StorableType("d9064ce1-75cc-4c53-9ee7-a6309bf19dfa")] 23 25 public interface IProblemData : IDataAnalysisProblemData { 24 26 string PriceChangeVariable { get; } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Interfaces/ISolution.cs
r16692 r16723 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. … … 21 21 22 22 using System.Collections.Generic; 23 using HEAL.Attic; 24 23 25 namespace HeuristicLab.Problems.DataAnalysis.Trading { 26 [StorableType("f0f78fec-6361-4032-b6d1-e36fbbf63381")] 24 27 public interface ISolution : IDataAnalysisSolution { 25 28 new IModel Model { get; } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Plugin.cs.frame
r16692 r16723 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. … … 34 34 [PluginDependency("HeuristicLab.Optimization", "3.3")] 35 35 [PluginDependency("HeuristicLab.Parameters", "3.3")] 36 [PluginDependency("HeuristicLab. Persistence", "3.3")]36 [PluginDependency("HeuristicLab.Attic", "1.0")] 37 37 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 38 38 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/ProblemData.cs
r16692 r16723 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.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Problems.DataAnalysis.Trading { 32 [Storable Class]32 [StorableType("0E535043-BE86-4AF8-8DA1-C82E459F67AB")] 33 33 [Item("TradingProblemData", "Represents an item containing all data defining a trading problem.")] 34 34 public sealed class ProblemData : DataAnalysisProblemData, IProblemData { … … 1611 1611 1612 1612 [StorableConstructor] 1613 private ProblemData( bool deserializing) : base(deserializing) { }1613 private ProblemData(StorableConstructorFlag _) : base(_) { } 1614 1614 [StorableHook(HookType.AfterDeserialization)] 1615 1615 private void AfterDeserialization() { … … 1650 1650 OnChanged(); 1651 1651 } 1652 1653 public override void AdjustProblemDataProperties(IDataAnalysisProblemData problemData) {1654 var data = problemData as ProblemData;1655 if (data == null) throw new ArgumentException("The problem data is not a problem data set for trading. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");1656 1657 string errorMessage;1658 if (!data.IsProblemDataCompatible(this, out errorMessage)) {1659 throw new InvalidOperationException(errorMessage);1660 }1661 1662 base.AdjustProblemDataProperties(data);1663 1664 var toDelete = PriceChangeVariableParameter.ValidValues.ToList();1665 foreach (var entry in data.PriceChangeVariableParameter.ValidValues) {1666 if (toDelete.Any(x => x.Value == entry.Value)) {1667 toDelete.RemoveAll(x => x.Value == entry.Value);1668 } else {1669 PriceChangeVariableParameter.ValidValues.Add(new StringValue(entry.Value));1670 }1671 }1672 PriceChangeVariableParameter.Value =1673 PriceChangeVariableParameter.ValidValues.Single(v => v.Value == data.PriceChangeVariable);1674 1675 foreach (var varToDelete in toDelete) PriceChangeVariableParameter.ValidValues.Remove(varToDelete);1676 1677 TransactionCostsParameter.Value.Value = data.TransactionCosts;1678 1679 OnChanged();1680 }1681 1652 } 1682 1653 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Properties/AssemblyInfo.cs.frame
r16692 r16723 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. -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Solution.cs
r16692 r16723 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. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Optimization; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.DataAnalysis.Trading { … … 31 31 /// Abstract base class for trading data analysis solutions 32 32 /// </summary> 33 [Storable Class]33 [StorableType("1AF0637D-7F29-4A57-8CC8-3AAFA402473F")] 34 34 public abstract class Solution : DataAnalysisSolution, ISolution { 35 35 private const string TrainingSharpeRatioResultName = "Sharpe ratio (training)"; … … 68 68 69 69 [StorableConstructor] 70 protected Solution( bool deserializing) : base(deserializing) { }70 protected Solution(StorableConstructorFlag _) : base(_) { } 71 71 protected Solution(Solution original, Cloner cloner) 72 72 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/IEvaluator.cs
r16692 r16723 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. … … 21 21 22 22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 26 [StorableType("d271ad83-6ee0-46cc-8f38-98f0c186e53e")] 25 27 public interface IEvaluator : ISymbolicDataAnalysisEvaluator<IProblemData> { 26 28 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/IModel.cs
r16692 r16723 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. … … 21 21 22 22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 26 [StorableType("3d34cc92-f473-4d18-952e-3aaf0c073f83")] 25 27 public interface IModel : Trading.IModel, ISymbolicDataAnalysisModel { 26 28 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/ISingleObjectiveEvaluator.cs
r16692 r16723 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. … … 21 21 22 22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 26 [StorableType("2ac3c3c3-f91c-4ca6-a1e5-79d9afd64a34")] 25 27 public interface ISingleObjectiveEvaluator : IEvaluator, ISymbolicDataAnalysisSingleObjectiveEvaluator<IProblemData> { 26 28 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Interfaces/ISolution.cs
r16692 r16723 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. … … 21 21 22 22 using HeuristicLab.Problems.DataAnalysis.Symbolic; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 26 [StorableType("efc8089d-0545-4ad7-b444-85e286dd7596")] 25 27 public interface ISolution : Trading.ISolution, ISymbolicDataAnalysisSolution { 26 28 new IModel Model { get; } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Model.cs
r16692 r16723 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. … … 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using System.Linq; … … 25 26 using HeuristicLab.Core; 26 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 28 29 using HeuristicLab.Problems.DataAnalysis.Symbolic; 29 30 … … 32 33 /// Represents a symbolic trading model 33 34 /// </summary> 34 [Storable Class]35 [StorableType("EDBE6BAD-B331-4301-AA8C-234196942DF4")] 35 36 [Item(Name = "Model (symbolic trading)", Description = "Represents a symbolic trading model.")] 36 37 public class Model : SymbolicDataAnalysisModel, IModel { 37 38 38 39 [StorableConstructor] 39 protected Model( bool deserializing) : base(deserializing) { }40 protected Model(StorableConstructorFlag _) : base(_) { } 40 41 protected Model(Model original, Cloner cloner) 41 42 : base(original, cloner) { } … … 52 53 return GetSignals(interpreter.GetSymbolicExpressionTreeValues(tree, dataset, rows)); 53 54 } 55 56 public override bool IsProblemDataCompatible(IDataAnalysisProblemData problemData, out string errorMessage) { 57 if (problemData == null) throw new ArgumentNullException("problemData", "The provided problemData is null."); 58 return IsDatasetCompatible(problemData.Dataset, out errorMessage); 59 } 60 54 61 55 62 // Transforms an enumerable of real values to an enumerable of trading signals (buy(1) / hold(0) / sell(-1)) -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/Evaluator.cs
r16692 r16723 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. … … 22 22 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis.Symbolic; 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 28 [Storable Class]28 [StorableType("0EEE96AC-9D20-4154-BDA8-0A34C4D5658A")] 29 29 public abstract class SingleObjectiveEvaluator : SymbolicDataAnalysisSingleObjectiveEvaluator<IProblemData>, ISingleObjectiveEvaluator { 30 30 [StorableConstructor] 31 protected SingleObjectiveEvaluator( bool deserializing) : base(deserializing) { }31 protected SingleObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 32 32 protected SingleObjectiveEvaluator(SingleObjectiveEvaluator original, Cloner cloner) 33 33 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/Problem.cs
r16692 r16723 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. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 using HeuristicLab.Problems.DataAnalysis.Symbolic; 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 28 28 [Item("Symbolic Trading Problem (single-objective)", "Represents a single-objective symbolic trading problem.")] 29 [Storable Class]29 [StorableType("4E1FFD34-5720-4578-8D9E-AF657E157109")] 30 30 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 150)] 31 31 public class SingleObjectiveProblem : SymbolicDataAnalysisSingleObjectiveProblem<IProblemData, ISingleObjectiveEvaluator, ISymbolicDataAnalysisSolutionCreator>, IProblem { … … 34 34 35 35 [StorableConstructor] 36 protected SingleObjectiveProblem( bool deserializing) : base(deserializing) { }36 protected SingleObjectiveProblem(StorableConstructorFlag _) : base(_) { } 37 37 protected SingleObjectiveProblem(SingleObjectiveProblem original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { return new SingleObjectiveProblem(this, cloner); } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/ProfitEvaluator.cs
r16692 r16723 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. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Problems.DataAnalysis.Symbolic; 29 29 30 30 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 31 31 [Item("Profit Evaluator", "")] 32 [Storable Class]32 [StorableType("2BDA057D-5E6E-4F83-8DB0-DA12B16E9EF4")] 33 33 public class ProfitEvaluator : SingleObjectiveEvaluator { 34 34 [StorableConstructor] 35 protected ProfitEvaluator( bool deserializing) : base(deserializing) { }35 protected ProfitEvaluator(StorableConstructorFlag _) : base(_) { } 36 36 protected ProfitEvaluator(ProfitEvaluator original, Cloner cloner) 37 37 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/SharpeRatioEvaluator.cs
r16692 r16723 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. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Problems.DataAnalysis.Symbolic; 29 29 30 30 namespace HeuristicLab.Problems.DataAnalysis.Trading.Symbolic { 31 31 [Item("Sharpe Ratio Evaluator", "")] 32 [Storable Class]32 [StorableType("5F0F5837-D659-4B77-BBCA-F4EFBAE554DB")] 33 33 public class SharpeRatioEvaluator : SingleObjectiveEvaluator { 34 34 [StorableConstructor] 35 protected SharpeRatioEvaluator( bool deserializing) : base(deserializing) { }35 protected SharpeRatioEvaluator(StorableConstructorFlag _) : base(_) { } 36 36 protected SharpeRatioEvaluator(SharpeRatioEvaluator original, Cloner cloner) 37 37 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/TrainingBestSolutionAnalyzer.cs
r16692 r16723 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. … … 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Problems.DataAnalysis.Symbolic; 28 28 … … 32 32 /// </summary> 33 33 [Item("Training-best Solution Analyzer (symbolic trading)", "An operator that analyzes the training best symbolic trading solution for single objective symbolic trading problems.")] 34 [Storable Class]34 [StorableType("001D440F-F70F-4798-BEA9-53AAB8D33E94")] 35 35 public sealed class TrainingBestSolutionAnalyzer : SymbolicDataAnalysisSingleObjectiveTrainingBestSolutionAnalyzer<ISolution>, 36 36 ISymbolicDataAnalysisInterpreterOperator { … … 47 47 48 48 [StorableConstructor] 49 private TrainingBestSolutionAnalyzer( bool deserializing) : base(deserializing) { }49 private TrainingBestSolutionAnalyzer(StorableConstructorFlag _) : base(_) { } 50 50 private TrainingBestSolutionAnalyzer(TrainingBestSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { } 51 51 public TrainingBestSolutionAnalyzer() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/ValidationBestSolutionAnalyzer.cs
r16692 r16723 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. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 using HeuristicLab.Problems.DataAnalysis.Symbolic; 27 27 … … 31 31 /// </summary> 32 32 [Item("Validation-best Solution Analyzer (symbolic trading)", "An operator that analyzes the validation best symbolic trading solution for single objective symbolic trading problems.")] 33 [Storable Class]33 [StorableType("BBDC9398-4D40-4170-B22F-77E36C68709F")] 34 34 public sealed class ValidationBestSolutionAnalyzer : SymbolicDataAnalysisSingleObjectiveValidationBestSolutionAnalyzer<ISolution, ISingleObjectiveEvaluator, IProblemData> { 35 35 36 36 [StorableConstructor] 37 private ValidationBestSolutionAnalyzer( bool deserializing) : base(deserializing) { }37 private ValidationBestSolutionAnalyzer(StorableConstructorFlag _) : base(_) { } 38 38 private ValidationBestSolutionAnalyzer(ValidationBestSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { } 39 39 public ValidationBestSolutionAnalyzer() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Symbolic/Solution.cs
r16692 r16723 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. … … 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 using HeuristicLab.Problems.DataAnalysis.Symbolic; 28 28 … … 31 31 /// Represents a symbolic trading solution (model + data) and attributes of the solution like accuracy and complexity 32 32 /// </summary> 33 [Storable Class]33 [StorableType("A4B82FA6-562B-477D-998C-996724EA1366")] 34 34 [Item(Name = "Solution (symbolic trading)", 35 35 Description = … … 60 60 61 61 [StorableConstructor] 62 private SymbolicSolution(bool deserializing) 63 : base(deserializing) { 62 private SymbolicSolution(StorableConstructorFlag _) : base(_) { 64 63 } 65 64
Note: See TracChangeset
for help on using the changeset viewer.