Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/14/12 16:20:06 (12 years ago)
Author:
sforsten
Message:

#1784:

  • removed obsolete import & export methods from RegressionProblem and ClassificationProblem, because they are implemented in the base classes
  • removed unnecessary references in Problems.QuadraticAssignment.Views
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblem.cs

    r7770 r7810  
    9292
    9393    #region Import & Export
    94     protected void Load(T data) {
     94    public void Load(T data) {
    9595      Name = data.Name;
    9696      Description = data.Description;
     
    9999    }
    100100
    101     protected T Export(T data) {
    102       data.Name = Name;
    103       data.Description = Description;
    104       data.TrainingPartition.Start = ProblemData.TrainingPartition.Start;
    105       data.TrainingPartition.End = ProblemData.TrainingPartition.End;
    106       data.TestPartition.Start = ProblemData.TestPartition.Start;
    107       data.TestPartition.End = ProblemData.TestPartition.End;
    108       return data;
     101    public T Export() {
     102      return ProblemData;
    109103    }
    110104    #endregion
Note: See TracChangeset for help on using the changeset viewer.