Changeset 14115 for stable/HeuristicLab.Problems.DataAnalysis
- Timestamp:
- 07/19/16 16:49:16 (8 years ago)
- Location:
- stable
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13785-13786
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis merged: 13785
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblem.cs
r12708 r14115 35 35 public override IDeepCloneable Clone(Cloner cloner) { return new ClassificationProblem(this, cloner); } 36 36 37 public ClassificationProblem() 38 : base() { 39 ProblemData = new ClassificationProblemData(); 40 } 37 public ClassificationProblem() : base(new ClassificationProblemData()) { } 41 38 } 42 39 } -
stable/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Clustering/ClusteringProblem.cs
r12708 r14115 33 33 public override IDeepCloneable Clone(Cloner cloner) { return new ClusteringProblem(this, cloner); } 34 34 35 public ClusteringProblem() 36 : base() { 37 ProblemData = new ClusteringProblemData(); 38 } 35 public ClusteringProblem() : base(new ClusteringProblemData()) { } 39 36 } 40 37 } -
stable/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblem.cs
r12009 r14115 49 49 public T ProblemData { 50 50 get { return ProblemDataParameter.Value; } 51 protected set { 52 ProblemDataParameter.Value = value; 53 } 51 set { ProblemDataParameter.Value = value; } 54 52 } 55 53 #endregion … … 60 58 [StorableConstructor] 61 59 protected DataAnalysisProblem(bool deserializing) : base(deserializing) { } 62 public DataAnalysisProblem()63 : base() {64 Parameters.Add(new ValueParameter<T>(ProblemDataParameterName, ProblemDataParameterDescription));65 RegisterEventHandlers();66 }67 60 68 61 protected DataAnalysisProblem(T problemData) 69 : this() { 70 ProblemData = problemData; 62 : base() { 63 Parameters.Add(new ValueParameter<T>(ProblemDataParameterName, ProblemDataParameterDescription, problemData)); 64 RegisterEventHandlers(); 71 65 } 72 66 -
stable/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblem.cs
r12009 r14115 34 34 where T : class, IDataAnalysisProblemData { 35 35 new IValueParameter<T> ProblemDataParameter { get; } 36 new T ProblemData { get; }36 new T ProblemData { get; set; } 37 37 } 38 38 }
Note: See TracChangeset
for help on using the changeset viewer.