Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10160


Ignore:
Timestamp:
11/27/13 15:23:28 (11 years ago)
Author:
tsteinre
Message:
  • reverted changes from Dataset to r10085
  • removed IDataset
  • removed EditableDataset
Location:
branches/DataPreprocessing
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/HeuristicLab.DataPreprocessing-3.3.csproj

    r10159 r10160  
    8484      <DependentUpon>DataPreprocessingView.cs</DependentUpon>
    8585    </Compile>
    86     <Compile Include="EditableDataset.cs" />
    8786    <Compile Include="DataSetStatisticInfo.cs" />
    8887    <Compile Include="Interfaces\IDataSetStatisticInfo.cs" />
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs

    r10148 r10160  
    3333  [Item("Dataset", "Represents a dataset containing data that should be analyzed.")]
    3434  [StorableClass]
    35   public class Dataset : NamedItem, IDataset {
     35  public sealed class Dataset : NamedItem, IStringConvertibleMatrix {
    3636    [StorableConstructor]
    37     protected Dataset(bool deserializing) : base(deserializing) { }
    38     protected Dataset(Dataset original, Cloner cloner)
     37    private Dataset(bool deserializing) : base(deserializing) { }
     38    private Dataset(Dataset original, Cloner cloner)
    3939      : base(original, cloner) {
    4040      variableValues = new Dictionary<string, IList>(original.variableValues);
     
    143143
    144144    [Storable(Name = "VariableValues")]
    145     protected Dictionary<string, IList> variableValues;
    146 
    147     protected List<string> variableNames;
     145    private Dictionary<string, IList> variableValues;
     146
     147    private List<string> variableNames;
    148148    [Storable]
    149149    public IEnumerable<string> VariableNames {
     
    212212      set { throw new NotSupportedException(); }
    213213    }
    214     public virtual bool ReadOnly {
     214    public bool ReadOnly {
    215215      get { return true; }
    216216    }
     
    225225    }
    226226
    227     public bool IsType<T>(int columnIndex) {
    228       return variableValues[variableNames[columnIndex]] is IList<T>;
    229     }
    230 
    231227    public string GetValue(int rowIndex, int columnIndex) {
    232228      return variableValues[variableNames[columnIndex]][rowIndex].ToString();
    233229    }
    234     public virtual bool SetValue(string value, int rowIndex, int columnIndex) {
     230    public bool SetValue(string value, int rowIndex, int columnIndex) {
    235231      throw new NotSupportedException();
    236232    }
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj

    r10145 r10160  
    149149    <Compile Include="Interfaces\Classification\IDiscriminantFunctionThresholdCalculator.cs" />
    150150    <Compile Include="Interfaces\IDataAnalysisSolutionExporter.cs" />
    151     <Compile Include="Interfaces\IDataset.cs" />
    152151    <Compile Include="Interfaces\IDependencyCalculator.cs" />
    153152    <Compile Include="Interfaces\Regression\IRegressionEnsembleModel.cs">
Note: See TracChangeset for help on using the changeset viewer.