Changeset 2223 for trunk/sources/HeuristicLab.Modeling/3.2/Model.cs
- Timestamp:
- 08/03/09 14:23:54 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Modeling/3.2/Model.cs
r2045 r2223 40 40 get { return targetVariable; } 41 41 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); 42 52 } 43 53 … … 122 132 public double GetVariableQualityImpact(string variableName) { 123 133 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."); 125 135 } 126 136
Note: See TracChangeset
for help on using the changeset viewer.