Changeset 15309 for branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data/Columns/StringPreprocessingDataColumn.cs
- Timestamp:
- 08/07/17 09:43:58 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data/Columns/StringPreprocessingDataColumn.cs
r15291 r15309 28 28 [Item("StringPreprocessingDataColumn", "")] 29 29 [StorableClass] 30 public sealed class StringPreprocessingDataColumn : PreprocessingDataColumn<string , string> {30 public sealed class StringPreprocessingDataColumn : PreprocessingDataColumn<string> { 31 31 32 32 #region Constructor, Cloning & Persistence … … 53 53 } 54 54 55 #region Statistics 56 public override string GetRange() { return string.Empty; } 57 public override string GetMean() { return string.Empty; } 58 public override string GetStandardDeviation() { return string.Empty; } 59 public override string GetVariance() { return string.Empty; } 60 #endregion 55 protected override string DefaultValue { get { return string.Empty; } } 61 56 62 57 #region IStringConvertibleColumn 63 58 public override bool Validate(string value, out string errorMessage) { 64 if (value == null) { 65 errorMessage = "Invalid Value (string must not be null)"; 66 return false; 67 } else { 68 errorMessage = string.Empty; 69 return true; 70 } 59 errorMessage = string.Empty; 60 return true; 71 61 } 72 62 public override string GetValue(int index) {
Note: See TracChangeset
for help on using the changeset viewer.