Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13826


Ignore:
Timestamp:
05/03/16 15:57:00 (9 years ago)
Author:
bburlacu
Message:

#2604: Decided to implement this functionality at the level of the DataAnalysisSolution (and not the model), since this way we have access to the problem data and can provide a default implementation of the new interface method so that this change will have no negative repercussions.

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisSolution.cs

    r12012 r13826  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    111111    protected override void DeregisterItemEvents(IEnumerable<IResult> items) { }
    112112
     113    public virtual IEnumerable<string> GetUsedVariablesForPrediction() {
     114      return this.ProblemData.AllowedInputVariables;
     115    }
     116
    113117    #region INamedItem Members
    114118    [Storable]
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisSolution.cs

    r12012 r13826  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Core;
     
    2829    IDataAnalysisModel Model { get; }
    2930    IDataAnalysisProblemData ProblemData { get; set; }
     31    IEnumerable<string> GetUsedVariablesForPrediction();
    3032
    3133    event EventHandler ModelChanged;
Note: See TracChangeset for help on using the changeset viewer.