Changeset 5509 for branches/DataAnalysis Refactoring
- Timestamp:
- 02/17/11 13:22:49 (14 years ago)
- Location:
- branches/DataAnalysis Refactoring
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/Interfaces/ISymbolicClassificationEvaluator.cs
r5501 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { 23 public interface ISymbolicClassificationEvaluator : IClassificationEvaluator, ISymbolicDataAnalysisEvaluator {23 public interface ISymbolicClassificationEvaluator : IClassificationEvaluator, ISymbolicDataAnalysisEvaluator<IClassificationProblemData> { 24 24 } 25 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/Interfaces/ISymbolicClassificationMultiObjectiveEvaluator.cs
r5501 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { 23 public interface ISymbolicClassificationMultiObjectiveEvaluator : ISymbolicClassificationEvaluator, ISymbolicDataAnalysisMultiObjectiveEvaluator {23 public interface ISymbolicClassificationMultiObjectiveEvaluator : ISymbolicClassificationEvaluator, ISymbolicDataAnalysisMultiObjectiveEvaluator<IClassificationProblemData> { 24 24 } 25 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/Interfaces/ISymbolicClassificationSingleObjectiveEvaluator.cs
r5501 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { 23 public interface ISymbolicClassificationSingleObjectiveEvaluator : ISymbolicClassificationEvaluator, ISymbolicDataAnalysisSingleObjectiveEvaluator {23 public interface ISymbolicClassificationSingleObjectiveEvaluator : ISymbolicClassificationEvaluator, ISymbolicDataAnalysisSingleObjectiveEvaluator<IClassificationProblemData> { 24 24 } 25 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/MultiObjective/SymbolicClassificationMultiObjectiveEvaluator.cs
r5505 r5509 24 24 25 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { 26 public abstract class SymbolicClassificationMultiObjectiveEvaluator : SymbolicDataAnalysisMultiObjectiveEvaluator, ISymbolicClassificationMultiObjectiveEvaluator { 27 public new IClassificationProblemData ProblemData { 28 get { return (IClassificationProblemData)base.ProblemData; } 29 } 30 26 public abstract class SymbolicClassificationMultiObjectiveEvaluator : SymbolicDataAnalysisMultiObjectiveEvaluator<IClassificationProblemData>, ISymbolicClassificationMultiObjectiveEvaluator { 31 27 [StorableConstructor] 32 28 protected SymbolicClassificationMultiObjectiveEvaluator(bool deserializing) : base(deserializing) { } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveEvaluator.cs
r5505 r5509 24 24 25 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { 26 public abstract class SymbolicClassificationSingleObjectiveEvaluator : SymbolicDataAnalysisSingleObjectiveEvaluator, ISymbolicClassificationSingleObjectiveEvaluator { 27 public new IClassificationProblemData ProblemData { 28 get { return (IClassificationProblemData)base.ProblemData; } 29 } 30 26 public abstract class SymbolicClassificationSingleObjectiveEvaluator : SymbolicDataAnalysisSingleObjectiveEvaluator<IClassificationProblemData>, ISymbolicClassificationSingleObjectiveEvaluator { 31 27 [StorableConstructor] 32 28 protected SymbolicClassificationSingleObjectiveEvaluator(bool deserializing) : base(deserializing) { } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/Interfaces/ISymbolicRegressionEvaluator.cs
r5500 r5509 22 22 23 23 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 24 public interface ISymbolicRegressionEvaluator : IRegressionEvaluator, ISymbolicDataAnalysisEvaluator {24 public interface ISymbolicRegressionEvaluator : IRegressionEvaluator, ISymbolicDataAnalysisEvaluator<IRegressionProblemData> { 25 25 } 26 26 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/Interfaces/ISymbolicRegressionMultiObjectiveEvaluator.cs
r5500 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 23 public interface ISymbolicRegressionMultiObjectiveEvaluator : ISymbolicRegressionEvaluator, ISymbolicDataAnalysisMultiObjectiveEvaluator {23 public interface ISymbolicRegressionMultiObjectiveEvaluator : ISymbolicRegressionEvaluator, ISymbolicDataAnalysisMultiObjectiveEvaluator<IRegressionProblemData> { 24 24 } 25 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/Interfaces/ISymbolicRegressionSingleObjectiveEvaluator.cs
r5500 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 23 public interface ISymbolicRegressionSingleObjectiveEvaluator : ISymbolicRegressionEvaluator, ISymbolicDataAnalysisSingleObjectiveEvaluator {23 public interface ISymbolicRegressionSingleObjectiveEvaluator : ISymbolicRegressionEvaluator, ISymbolicDataAnalysisSingleObjectiveEvaluator<IRegressionProblemData> { 24 24 } 25 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectiveEvaluator.cs
r5505 r5509 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 26 public abstract class SymbolicRegressionMultiObjectiveEvaluator : SymbolicDataAnalysisMultiObjectiveEvaluator, ISymbolicRegressionMultiObjectiveEvaluator { 27 public new IRegressionProblemData ProblemData { 28 get { return (IRegressionProblemData)base.ProblemData; } 29 } 30 26 public abstract class SymbolicRegressionMultiObjectiveEvaluator : SymbolicDataAnalysisMultiObjectiveEvaluator<IRegressionProblemData>, ISymbolicRegressionMultiObjectiveEvaluator { 31 27 [StorableConstructor] 32 28 protected SymbolicRegressionMultiObjectiveEvaluator(bool deserializing) : base(deserializing) { } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveEvaluator.cs
r5505 r5509 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 26 public abstract class SymbolicRegressionSingleObjectiveEvaluator : SymbolicDataAnalysisSingleObjectiveEvaluator, ISymbolicRegressionSingleObjectiveEvaluator { 27 public new IRegressionProblemData ProblemData { 28 get { return (IRegressionProblemData)base.ProblemData; } 29 } 30 26 public abstract class SymbolicRegressionSingleObjectiveEvaluator : SymbolicDataAnalysisSingleObjectiveEvaluator<IRegressionProblemData>, ISymbolicRegressionSingleObjectiveEvaluator { 31 27 [StorableConstructor] 32 28 protected SymbolicRegressionSingleObjectiveEvaluator(bool deserializing) : base(deserializing) { } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Evaluators/SymbolicDataAnalysisEvaluator.cs
r5500 r5509 33 33 34 34 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 35 public abstract class SymbolicDataAnalysisEvaluator : SingleSuccessorOperator, 36 ISymbolicDataAnalysisEvaluator, ISymbolicDataAnalysisBoundedEvaluator, ISymbolicDataAnalysisInterpreterOperator { 35 public abstract class SymbolicDataAnalysisEvaluator<T> : SingleSuccessorOperator, 36 ISymbolicDataAnalysisBoundedEvaluator<T>, ISymbolicDataAnalysisInterpreterOperator 37 where T : class, IDataAnalysisProblemData { 37 38 private const string RandomParameterName = "Random"; 38 39 private const string SymbolicExpressionTreeParameterName = "SymbolicExpressionTree"; … … 55 56 get { return (ILookupParameter<ISymbolicDataAnalysisTreeInterpreter>)Parameters[SymbolicExpressionTreeInterpreterParameterName]; } 56 57 } 57 public ILookupParameter< IDataAnalysisProblemData> ProblemDataParameter {58 get { return (ILookupParameter< IDataAnalysisProblemData>)Parameters[ProblemDataParameterName]; }58 public ILookupParameter<T> ProblemDataParameter { 59 get { return (ILookupParameter<T>)Parameters[ProblemDataParameterName]; } 59 60 } 60 61 … … 79 80 80 81 #region properties 81 public IDataAnalysisProblemDataProblemData {82 public T ProblemData { 82 83 get { return ProblemDataParameter.ActualValue; } 83 84 } … … 102 103 [StorableConstructor] 103 104 protected SymbolicDataAnalysisEvaluator(bool deserializing) : base(deserializing) { } 104 protected SymbolicDataAnalysisEvaluator(SymbolicDataAnalysisEvaluator original, Cloner cloner)105 protected SymbolicDataAnalysisEvaluator(SymbolicDataAnalysisEvaluator<T> original, Cloner cloner) 105 106 : base(original, cloner) { 106 107 } … … 108 109 : base() { 109 110 Parameters.Add(new LookupParameter<IRandom>(RandomParameterName, "The random generator to use.")); 110 Parameters.Add(new LookupParameter<ISymbolicDataAnalysisTreeInterpreter>(SymbolicExpressionTreeInterpreterParameterName, "The interpreter that should be used to calculate the output values of the symbolic expressiontree."));111 Parameters.Add(new LookupParameter<SymbolicExpressionTree>(SymbolicExpressionTreeInterpreterParameterName, "The symbolic regressionsolution encoded as a symbolic expression tree."));112 Parameters.Add(new LookupParameter< IDataAnalysisProblemData>(ProblemDataParameterName, "The problem data on which the symbolic regressionsolution should be evaluated."));113 Parameters.Add(new ValueLookupParameter<IntValue>(SamplesStartParameterName, "The start index of the dataset partition on which the symbolic regressionsolution should be evaluated."));114 Parameters.Add(new ValueLookupParameter<IntValue>(SamplesEndParameterName, "The end index of the dataset partition on which the symbolic regressionsolution should be evaluated."));115 Parameters.Add(new ValueLookupParameter<DoubleValue>(UpperEstimationLimitParameterName, "The upper limit that should be used as cut off value for the output values of symbolic expressiontrees."));116 Parameters.Add(new ValueLookupParameter<DoubleValue>(LowerEstimationLimitParameterName, "The lower limit that should be used as cut off value for the output values of symbolic expressiontrees."));111 Parameters.Add(new LookupParameter<ISymbolicDataAnalysisTreeInterpreter>(SymbolicExpressionTreeInterpreterParameterName, "The interpreter that should be used to calculate the output values of the symbolic data analysis tree.")); 112 Parameters.Add(new LookupParameter<SymbolicExpressionTree>(SymbolicExpressionTreeInterpreterParameterName, "The symbolic data analysis solution encoded as a symbolic expression tree.")); 113 Parameters.Add(new LookupParameter<T>(ProblemDataParameterName, "The problem data on which the symbolic data analysis solution should be evaluated.")); 114 Parameters.Add(new ValueLookupParameter<IntValue>(SamplesStartParameterName, "The start index of the dataset partition on which the symbolic data analysis solution should be evaluated.")); 115 Parameters.Add(new ValueLookupParameter<IntValue>(SamplesEndParameterName, "The end index of the dataset partition on which the symbolic data analysis solution should be evaluated.")); 116 Parameters.Add(new ValueLookupParameter<DoubleValue>(UpperEstimationLimitParameterName, "The upper limit that should be used as cut off value for the output values of symbolic data analysis trees.")); 117 Parameters.Add(new ValueLookupParameter<DoubleValue>(LowerEstimationLimitParameterName, "The lower limit that should be used as cut off value for the output values of symbolic data analysis trees.")); 117 118 Parameters.Add(new ValueParameter<PercentValue>(RelativeNumberOfEvaluatedSamplesParameterName, "The relative number of samples of the dataset partition, which should be randomly chosen for evaluation between the start and end index.", new PercentValue(1))); 118 119 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Evaluators/SymbolicDataAnalysisMultiObjectiveEvaluator.cs
r5507 r5509 28 28 29 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 30 public abstract class SymbolicDataAnalysisMultiObjectiveEvaluator : SymbolicDataAnalysisEvaluator, ISymbolicDataAnalysisMultiObjectiveEvaluator { 30 public abstract class SymbolicDataAnalysisMultiObjectiveEvaluator<T> : SymbolicDataAnalysisEvaluator<T>, ISymbolicDataAnalysisMultiObjectiveEvaluator<T> 31 where T : class, IDataAnalysisProblemData { 31 32 private const string QualitiesParameterName = "Qualities"; 32 33 public ILookupParameter<DoubleArray> QualitiesParameter { … … 38 39 [StorableConstructor] 39 40 protected SymbolicDataAnalysisMultiObjectiveEvaluator(bool deserializing) : base(deserializing) { } 40 protected SymbolicDataAnalysisMultiObjectiveEvaluator(SymbolicDataAnalysisMultiObjectiveEvaluator original, Cloner cloner)41 protected SymbolicDataAnalysisMultiObjectiveEvaluator(SymbolicDataAnalysisMultiObjectiveEvaluator<T> original, Cloner cloner) 41 42 : base(original, cloner) { 42 43 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Evaluators/SymbolicDataAnalysisSingleObjectiveEvaluator.cs
r5500 r5509 27 27 28 28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 29 public abstract class SymbolicDataAnalysisSingleObjectiveEvaluator : SymbolicDataAnalysisEvaluator, ISymbolicDataAnalysisSingleObjectiveEvaluator { 29 public abstract class SymbolicDataAnalysisSingleObjectiveEvaluator<T> : SymbolicDataAnalysisEvaluator<T>, ISymbolicDataAnalysisSingleObjectiveEvaluator<T> 30 where T : class, IDataAnalysisProblemData { 30 31 private const string QualityParameterName = "Quality"; 31 32 public ILookupParameter<DoubleValue> QualityParameter { … … 37 38 [StorableConstructor] 38 39 protected SymbolicDataAnalysisSingleObjectiveEvaluator(bool deserializing) : base(deserializing) { } 39 protected SymbolicDataAnalysisSingleObjectiveEvaluator(SymbolicDataAnalysisSingleObjectiveEvaluator original, Cloner cloner)40 protected SymbolicDataAnalysisSingleObjectiveEvaluator(SymbolicDataAnalysisSingleObjectiveEvaluator<T> original, Cloner cloner) 40 41 : base(original, cloner) { 41 42 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interfaces/ISymbolicDataAnalysisBoundedEvaluator.cs
r5495 r5509 24 24 using HeuristicLab.Data; 25 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 26 public interface ISymbolicDataAnalysisBoundedEvaluator : ISymbolicDataAnalysisEvaluator { 26 public interface ISymbolicDataAnalysisBoundedEvaluator<T> : ISymbolicDataAnalysisEvaluator<T> 27 where T : class, IDataAnalysisProblemData { 27 28 IValueLookupParameter<DoubleValue> UpperEstimationLimitParameter { get; } 28 29 IValueLookupParameter<DoubleValue> LowerEstimationLimitParameter { get; } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interfaces/ISymbolicDataAnalysisEvaluator.cs
r5500 r5509 23 23 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 24 24 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 25 public interface ISymbolicDataAnalysisEvaluator : IDataAnalysisEvaluator { 25 public interface ISymbolicDataAnalysisEvaluator<T> : IDataAnalysisEvaluator<T> 26 where T : class, IDataAnalysisProblemData { 26 27 ILookupParameter<SymbolicExpressionTree> SymbolicExpressionTreeParameter { get; } 27 28 IValueLookupParameter<IntValue> SamplesStartParameter { get; } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interfaces/ISymbolicDataAnalysisMultiObjectiveEvaluator.cs
r5498 r5509 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 27 public interface ISymbolicDataAnalysisMultiObjectiveEvaluator : ISymbolicDataAnalysisEvaluator, IMultiObjectiveEvaluator { 27 public interface ISymbolicDataAnalysisMultiObjectiveEvaluator<T> : ISymbolicDataAnalysisEvaluator<T>, IMultiObjectiveEvaluator 28 where T : class, IDataAnalysisProblemData { 28 29 IEnumerable<bool> Maximization { get; } 29 30 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interfaces/ISymbolicDataAnalysisSingleObjectiveEvaluator.cs
r5498 r5509 23 23 using HeuristicLab.Optimization; 24 24 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 25 public interface ISymbolicDataAnalysisSingleObjectiveEvaluator : ISymbolicDataAnalysisEvaluator, ISingleObjectiveEvaluator { 25 public interface ISymbolicDataAnalysisSingleObjectiveEvaluator<T> : ISymbolicDataAnalysisEvaluator<T>, ISingleObjectiveEvaluator 26 where T : class, IDataAnalysisProblemData { 26 27 bool Maximization { get; } 27 28 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interfaces/ISymbolicDataAnalysisSolutionCreator.cs
r5495 r5509 22 22 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 23 23 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 24 public interface ISymbolicDataAnalysisSolutionCreator : ISymbolicExpressionTreeCreator { 24 public interface ISymbolicDataAnalysisSolutionCreator<T> : ISymbolicExpressionTreeCreator, IDataAnalysisSolutionCreator<T> 25 where T : class, IDataAnalysisProblemData { 25 26 } 26 27 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationEvaluator.cs
r5501 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis { 23 public interface IClassificationEvaluator : IDataAnalysisEvaluator { 24 new IClassificationProblemData ProblemData { get; } 25 } 23 public interface IClassificationEvaluator : IDataAnalysisEvaluator<IClassificationProblemData> { } 26 24 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationProblem.cs
r5501 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis { 23 public interface IClassificationProblem : IDataAnalysisProblem { 24 new IClassificationProblemData ProblemData { get; } 25 new IClassificationEvaluator Evaluator { get; } 23 public interface IClassificationProblem : IDataAnalysisProblem<IClassificationProblemData> { 26 24 new IClassificationSolutionCreator SolutionCreator { get; } 27 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationSolution.cs
r5501 r5509 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 22 24 namespace HeuristicLab.Problems.DataAnalysis { 23 25 public interface IClassificationSolution : IDataAnalysisSolution { 24 26 new IClassificationModel Model { get; } 25 27 new IClassificationProblemData ProblemData { get; } 28 29 IEnumerable<double> EstimatedValues { get; } 30 IEnumerable<double> EstimatedTrainingValues { get; } 31 IEnumerable<double> EstimatedTestValues { get; } 32 IEnumerable<double> GetEstimatedValues(IEnumerable<int> rows); 33 34 IEnumerable<double> Thresholds { get; } 35 IEnumerable<double> EstimatedClassValues { get; } 36 IEnumerable<double> EstimatedTrainingClassValues { get; } 37 IEnumerable<double> EstimatedTestClassValues { get; } 38 IEnumerable<double> GetEstimatedClassValues(IEnumerable<int> rows); 39 40 event EventHandler ThresholdsChanged; 26 41 } 27 42 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationSolutionCreator.cs
r5501 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis { 23 public interface IClassificationSolutionCreator : IDataAnalysisSolutionCreator {23 public interface IClassificationSolutionCreator : IDataAnalysisSolutionCreator<IClassificationProblemData> { 24 24 } 25 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisEvaluator.cs
r5500 r5509 24 24 25 25 namespace HeuristicLab.Problems.DataAnalysis { 26 public interface IDataAnalysisEvaluator : IEvaluator { 27 IValueLookupParameter<IDataAnalysisProblemData> ProblemDataParameter { get; } 28 IDataAnalysisProblemData ProblemData { get; } 26 public interface IDataAnalysisEvaluator<T> : IEvaluator 27 where T : class, IDataAnalysisProblemData { 28 IValueLookupParameter<T> ProblemDataParameter { get; } 29 T ProblemData { get; } 29 30 } 30 31 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblem.cs
r5486 r5509 23 23 24 24 namespace HeuristicLab.Problems.DataAnalysis { 25 public interface IDataAnalysisProblem : IProblem { 26 IDataAnalysisProblemData ProblemData { get; } 27 new IDataAnalysisEvaluator Evaluator { get; } 28 new IDataAnalysisSolutionCreator SolutionCreator { get; } 25 public interface IDataAnalysisProblem<T> : IProblem 26 where T : class, IDataAnalysisProblemData { 27 T ProblemData { get; } 28 new IDataAnalysisEvaluator<T> Evaluator { get; } 29 new IDataAnalysisSolutionCreator<T> SolutionCreator { get; } 29 30 } 30 31 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblemData.cs
r5500 r5509 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using HeuristicLab.Core; … … 32 33 int TestSamplesStart { get; } 33 34 int TestSamplesEnd { get; } 35 36 event EventHandler Changed; 34 37 } 35 38 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisSolutionCreator.cs
r5484 r5509 20 20 #endregion 21 21 22 using HeuristicLab.Core; 22 23 using HeuristicLab.Optimization; 23 24 24 25 namespace HeuristicLab.Problems.DataAnalysis { 25 public interface IDataAnalysisSolutionCreator : ISolutionCreator { 26 public interface IDataAnalysisSolutionCreator<T> : ISolutionCreator 27 where T : class, IDataAnalysisProblemData { 28 IValueLookupParameter<T> ProblemDataParameter { get; } 29 T ProblemData { get; } 26 30 } 27 31 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionEvaluator.cs
r5500 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis { 23 public interface IRegressionEvaluator : IDataAnalysisEvaluator { 24 new IRegressionProblemData ProblemData { get; } 23 public interface IRegressionEvaluator : IDataAnalysisEvaluator<IRegressionProblemData> { 25 24 } 26 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionProblem.cs
r5500 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis { 23 public interface IRegressionProblem : IDataAnalysisProblem { 24 new IRegressionProblemData ProblemData { get; } 25 new IRegressionEvaluator Evaluator { get; } 23 public interface IRegressionProblem : IDataAnalysisProblem<IRegressionProblemData> { 26 24 new IRegressionSolutionCreator SolutionCreator { get; } 27 25 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionSolutionCreator.cs
r5496 r5509 21 21 22 22 namespace HeuristicLab.Problems.DataAnalysis { 23 public interface IRegressionSolutionCreator : IDataAnalysisSolutionCreator {23 public interface IRegressionSolutionCreator : IDataAnalysisSolutionCreator<IRegressionProblemData> { 24 24 } 25 25 }
Note: See TracChangeset
for help on using the changeset viewer.