Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/03/09 14:23:54 (15 years ago)
Author:
mkommend
Message:

reintegrated branch new heuristic.modeling database backend (ticket #712)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Modeling/3.2/Model.cs

    r2045 r2223  
    4040      get { return targetVariable; }
    4141      set { targetVariable = value; }
     42    }
     43
     44    private List<string> inputVariables = new List<string>();
     45    public IEnumerable<string> InputVariables {
     46      get { return inputVariables; }
     47    }
     48
     49    public void AddInputVariables(string variableName) {
     50      if (!inputVariables.Contains(variableName))
     51        inputVariables.Add(variableName);
    4252    }
    4353
     
    122132    public double GetVariableQualityImpact(string variableName) {
    123133      if (variableQualityImpacts.ContainsKey(variableName)) return variableQualityImpacts[variableName];
    124       else throw new ArgumentException("Impact of variable "+variableName+" is not available.");
     134      else throw new ArgumentException("Impact of variable " + variableName + " is not available.");
    125135    }
    126136
Note: See TracChangeset for help on using the changeset viewer.