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.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r7770 r7810  
    321321
    322322    #region Import & Export
    323     protected void Load(T data) {
     323    public void Load(T data) {
    324324      Name = data.Name;
    325325      Description = data.Description;
     
    328328    }
    329329
    330     protected T Export(T data) {
    331       data.Name = Name;
    332       data.Description = Description;
    333       data.TrainingPartition.Start = ProblemData.TrainingPartition.Start;
    334       data.TrainingPartition.End = ProblemData.TrainingPartition.End;
    335       data.TestPartition.Start = ProblemData.TestPartition.Start;
    336       data.TestPartition.End = ProblemData.TestPartition.End;
    337       return data;
     330    public T Export() {
     331      return ProblemData;
    338332    }
    339333    #endregion
Note: See TracChangeset for help on using the changeset viewer.