Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1214


Ignore:
Timestamp:
02/11/09 13:28:01 (16 years ago)
Author:
gkronber
Message:

changed model attribute TargetVariable to store the name of the variable instead of the index. #419 (Refactor CEDMA plugins)

Location:
branches/CEDMA-Refactoring-Ticket419
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/CEDMA-Refactoring-Ticket419/HeuristicLab.CEDMA.Core/Problem.cs

    r1043 r1214  
    5252    public HeuristicLab.DataAnalysis.Dataset DataSet {
    5353      get { return dataset; }
     54    }
     55
     56    public string[] VariableNames {
     57      get { return DataSet.VariableNames; }
    5458    }
    5559
  • branches/CEDMA-Refactoring-Ticket419/HeuristicLab.CEDMA.Server/Execution.cs

    r1060 r1214  
    5353    }
    5454
    55     //private Problem problem;
    56     //public Problem Problem {
    57     //  get { return problem; }
    58     //  set { problem = value; }
    59     //}
    60 
    61     private int targetVariable;
    62     public int TargetVariable {
     55    private string targetVariable;
     56    public string TargetVariable {
    6357      get { return targetVariable; }
    6458      set { targetVariable = value; }
    6559    }
    6660
    67     public Execution(Entity dataSetEntity, IEngine engine, int targetVariable) {
     61    public Execution(Entity dataSetEntity, IEngine engine, string targetVariable) {
    6862      this.dataSetEntity = dataSetEntity;
    6963      this.engine = engine;
Note: See TracChangeset for help on using the changeset viewer.