Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/01/11 14:33:18 (13 years ago)
Author:
mkommend
Message:

#1418: Added IHeuristicOptimizationProblem and adapted all according classes.

Location:
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.3/Interfaces/IDataAnalysisProblem.cs

    r5445 r5578  
    2323
    2424namespace HeuristicLab.Problems.DataAnalysis {
    25   public interface IDataAnalysisProblem : IProblem {
     25  public interface IDataAnalysisProblem : IHeuristicOptimizationProblem {
    2626    DataAnalysisProblemData DataAnalysisProblemData { get; }
    2727  }
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.3/Interfaces/ISingleObjectiveDataAnalysisProblem.cs

    r5445 r5578  
    2222using HeuristicLab.Optimization;
    2323namespace HeuristicLab.Problems.DataAnalysis {
    24   public interface ISingleObjectiveDataAnalysisProblem : ISingleObjectiveProblem, IDataAnalysisProblem {
     24  public interface ISingleObjectiveDataAnalysisProblem : ISingleObjectiveHeuristicOptimizationProblem, IDataAnalysisProblem {
    2525  }
    2626}
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/DataAnalysisProblem.cs

    r5577 r5578  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
     25using HeuristicLab.Optimization;
    2526using HeuristicLab.Parameters;
    2627using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    2829namespace HeuristicLab.Problems.DataAnalysis {
    2930  [StorableClass]
    30   public abstract class DataAnalysisProblem<T> : ParameterizedNamedItem,
     31  public abstract class DataAnalysisProblem<T> : Problem,
    3132    IDataAnalysisProblem<T>
    3233    where T : class, IDataAnalysisProblemData {
     
    4748    public T ProblemData {
    4849      get { return ProblemDataParameter.Value; }
     50      protected set { ProblemDataParameter.Value = value; }
    4951    }
    5052    #endregion
     
    7274      if (handler != null) handler(this, EventArgs.Empty);
    7375    }
    74 
    75     public event EventHandler Reset;
    76     protected virtual void OnReset() {
    77       var handler = Reset;
    78       if (handler != null) handler(this, EventArgs.Empty);
    79     }
    8076  }
    8177}
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblem.cs

    r5577 r5578  
    2222using System;
    2323using HeuristicLab.Core;
     24using HeuristicLab.Optimization;
    2425
    2526namespace HeuristicLab.Problems.DataAnalysis {
    26   public interface IDataAnalysisProblem : IItem {
     27  public interface IDataAnalysisProblem : IProblem {
    2728    IParameter ProblemDataParameter { get; }
    2829    IDataAnalysisProblemData ProblemData { get; }
Note: See TracChangeset for help on using the changeset viewer.