- Timestamp:
- 11/27/13 15:23:28 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs
r10148 r10160 33 33 [Item("Dataset", "Represents a dataset containing data that should be analyzed.")] 34 34 [StorableClass] 35 public class Dataset : NamedItem, IDataset{35 public sealed class Dataset : NamedItem, IStringConvertibleMatrix { 36 36 [StorableConstructor] 37 pr otectedDataset(bool deserializing) : base(deserializing) { }38 pr otectedDataset(Dataset original, Cloner cloner)37 private Dataset(bool deserializing) : base(deserializing) { } 38 private Dataset(Dataset original, Cloner cloner) 39 39 : base(original, cloner) { 40 40 variableValues = new Dictionary<string, IList>(original.variableValues); … … 143 143 144 144 [Storable(Name = "VariableValues")] 145 pr otectedDictionary<string, IList> variableValues;146 147 pr otectedList<string> variableNames;145 private Dictionary<string, IList> variableValues; 146 147 private List<string> variableNames; 148 148 [Storable] 149 149 public IEnumerable<string> VariableNames { … … 212 212 set { throw new NotSupportedException(); } 213 213 } 214 public virtualbool ReadOnly {214 public bool ReadOnly { 215 215 get { return true; } 216 216 } … … 225 225 } 226 226 227 public bool IsType<T>(int columnIndex) {228 return variableValues[variableNames[columnIndex]] is IList<T>;229 }230 231 227 public string GetValue(int rowIndex, int columnIndex) { 232 228 return variableValues[variableNames[columnIndex]][rowIndex].ToString(); 233 229 } 234 public virtualbool SetValue(string value, int rowIndex, int columnIndex) {230 public bool SetValue(string value, int rowIndex, int columnIndex) { 235 231 throw new NotSupportedException(); 236 232 } -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r10145 r10160 149 149 <Compile Include="Interfaces\Classification\IDiscriminantFunctionThresholdCalculator.cs" /> 150 150 <Compile Include="Interfaces\IDataAnalysisSolutionExporter.cs" /> 151 <Compile Include="Interfaces\IDataset.cs" />152 151 <Compile Include="Interfaces\IDependencyCalculator.cs" /> 153 152 <Compile Include="Interfaces\Regression\IRegressionEnsembleModel.cs">
Note: See TracChangeset
for help on using the changeset viewer.