Changeset 13881
- Timestamp:
- 06/08/16 15:21:31 (8 years ago)
- Location:
- stable
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13427,13539
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.DataPreprocessing/3.4 merged: 13427
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4/Implementations/PreprocessingData.cs
r13289 r13881 134 134 } 135 135 136 private static IList CreateColumn<T>(Dataset ds, int column, Func<string, T> selector) {137 var list = new List<T>(ds.Rows);138 for (int row = 0; row < ds.Rows; ++row) {139 list.Add(selector(ds.GetValue(row, column)));140 }141 return list;142 }143 144 136 private void CheckPartitionRanges() { 145 137 int maxRowIndex = Math.Max(0, Rows - 1); -
stable/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis merged: 13427,13539
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs
r12702 r13881 201 201 public int Rows { 202 202 get { return rows; } 203 set { throw new NotSupportedException(); } 204 } 203 } 204 int IStringConvertibleMatrix.Rows { 205 get { return Rows; } 206 set { throw new NotSupportedException(); } 207 } 208 205 209 public int Columns { 206 210 get { return variableNames.Count; } 207 set { throw new NotSupportedException(); } 208 } 209 public bool SortableView { 211 } 212 int IStringConvertibleMatrix.Columns { 213 get { return Columns; } 214 set { throw new NotSupportedException(); } 215 } 216 bool IStringConvertibleMatrix.SortableView { 210 217 get { return false; } 211 218 set { throw new NotSupportedException(); } 212 219 } 213 public boolReadOnly {220 bool IStringConvertibleMatrix.ReadOnly { 214 221 get { return true; } 215 222 } … … 222 229 set { throw new NotSupportedException(); } 223 230 } 224 public stringGetValue(int rowIndex, int columnIndex) {231 string IStringConvertibleMatrix.GetValue(int rowIndex, int columnIndex) { 225 232 return variableValues[variableNames[columnIndex]][rowIndex].ToString(); 226 233 }
Note: See TracChangeset
for help on using the changeset viewer.