Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/16/11 10:52:22 (14 years ago)
Author:
mkommend
Message:

Prepared 3.4 project stubs for refactoring and added interfaces in Problems.DataAnalysis 3.4 (ticket #1418).

Location:
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis
Files:
5 added
9 deleted
5 edited
7 copied
1 moved

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/VariableCondition.cs

    r5467 r5484  
    144144    #region persistence and cloning
    145145    [StorableConstructor]
    146     protected VariableCondition(bool deserializing) : base(deserializing) { }
    147     protected VariableCondition(VariableCondition original, Cloner cloner)
     146    private VariableCondition(bool deserializing) : base(deserializing) { }
     147    private VariableCondition(VariableCondition original, Cloner cloner)
    148148      : base(original, cloner) {
    149149      thresholdInitializerMu = original.thresholdInitializerMu;
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj

    r5474 r5484  
    108108  </ItemGroup>
    109109  <ItemGroup>
     110    <Compile Include="Dataset.cs" />
     111    <Compile Include="Interfaces\IDataAnalysisEvaluator.cs" />
     112    <Compile Include="Interfaces\IDataAnalysisProblemData.cs" />
     113    <Compile Include="Interfaces\IDataAnalysisSolution.cs" />
     114    <Compile Include="Interfaces\IDataAnalysisSolutionCreator.cs" />
    110115    <Compile Include="TableFileParser.cs" />
    111116    <None Include="HeuristicLab.snk" />
    112117    <None Include="HeuristicLabProblemsDataAnalysisPlugin.cs.frame" />
    113118    <None Include="Properties\AssemblyInfo.frame" />
    114     <Compile Include="Evaluators\OnlineCovarianceEvaluator.cs" />
    115     <Compile Include="Evaluators\OnlineMeanAndVarianceCalculator.cs" />
    116     <Compile Include="Evaluators\OnlineNormalizedMeanSquaredErrorEvaluator.cs" />
    117     <Compile Include="DataAnalysisSolution.cs" />
    118     <Compile Include="DataAnalysisProblem.cs" />
    119     <Compile Include="DataAnalysisProblemData.cs" />
    120     <Compile Include="DataFormatException.cs" />
    121     <Compile Include="Dataset.cs" />
    122     <Compile Include="Evaluators\OnlineMeanAbsolutePercentageErrorEvaluator.cs" />
    123     <Compile Include="Evaluators\OnlineMeanSquaredErrorEvaluator.cs" />
    124     <Compile Include="Evaluators\OnlinePearsonsRSquaredEvaluator.cs" />
    125     <Compile Include="Evaluators\SimpleEvaluator.cs" />
    126     <Compile Include="Evaluators\SimpleMeanAbsolutePercentageErrorEvaluator.cs" />
    127     <Compile Include="Evaluators\SimpleMeanAbsolutePercentageOfRangeErrorEvaluator.cs" />
    128     <Compile Include="Evaluators\SimpleMSEEvaluator.cs" />
    129     <Compile Include="Evaluators\SimpleNMSEEvaluator.cs" />
    130     <Compile Include="Evaluators\SimpleRSquaredEvaluator.cs" />
    131     <Compile Include="Evaluators\SimpleVarianceAccountedForEvaluator.cs" />
     119    <Compile Include="Online Evaluators\OnlineCovarianceEvaluator.cs" />
     120    <Compile Include="Online Evaluators\OnlineMeanAndVarianceCalculator.cs" />
     121    <Compile Include="Online Evaluators\OnlineNormalizedMeanSquaredErrorEvaluator.cs" />
     122    <Compile Include="Online Evaluators\OnlineMeanAbsolutePercentageErrorEvaluator.cs" />
     123    <Compile Include="Online Evaluators\OnlineMeanSquaredErrorEvaluator.cs" />
     124    <Compile Include="Online Evaluators\OnlinePearsonsRSquaredEvaluator.cs" />
    132125    <Compile Include="HeuristicLabProblemsDataAnalysisPlugin.cs" />
    133     <Compile Include="Interfaces\ILaggedTreeNode.cs" />
    134     <Compile Include="Interfaces\ISingleObjectiveDataAnalysisProblem.cs" />
    135126    <Compile Include="Interfaces\IDataAnalysisModel.cs" />
    136127    <Compile Include="Interfaces\IDataAnalysisProblem.cs" />
    137     <Compile Include="Interfaces\IOnlineEvaluator.cs" />
    138     <Compile Include="MatrixExtensions.cs" />
     128    <Compile Include="Online Evaluators\IOnlineEvaluator.cs" />
    139129    <Compile Include="Properties\AssemblyInfo.cs" />
    140     <Compile Include="RandomEnumerable.cs" />
    141130  </ItemGroup>
    142131  <ItemGroup>
     
    160149      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    161150      <Name>HeuristicLab.Data-3.3</Name>
    162     </ProjectReference>
    163     <ProjectReference Include="..\..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding\3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3.csproj">
    164       <Project>{125D3006-67F5-48CB-913E-73C0548F17FA}</Project>
    165       <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3</Name>
    166151    </ProjectReference>
    167152    <ProjectReference Include="..\..\HeuristicLab.ExtLibs\HeuristicLab.ALGLIB\3.1.0\ALGLIB-3.1.0\ALGLIB-3.1.0.csproj">
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisModel.cs

    r5445 r5484  
    2525namespace HeuristicLab.Problems.DataAnalysis {
    2626  public interface IDataAnalysisModel : INamedItem {
    27     IEnumerable<double> GetEstimatedValues(DataAnalysisProblemData problemData, int start, int end);
     27    IEnumerable<double> GetEstimatedValues(IDataAnalysisProblemData problemData, int start, int end);
    2828  }
    2929}
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblem.cs

    r5445 r5484  
    2424namespace HeuristicLab.Problems.DataAnalysis {
    2525  public interface IDataAnalysisProblem : IProblem {
    26     DataAnalysisProblemData DataAnalysisProblemData { get; }
     26    IDataAnalysisProblemData DataAnalysisProblemData { get; }
     27    new IDataAnalysisEvaluator Evaluator { get; }
     28    new IDataAnalysisSolutionCreator SolutionCreator { get; }
    2729  }
    2830}
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/TableFileParser.cs

    r5474 r5484  
    2525using System.IO;
    2626using System.Linq;
     27using System.Runtime.Serialization;
    2728using System.Text;
    2829
     
    366367    }
    367368    #endregion
     369
     370    [Serializable]
     371    private class DataFormatException : Exception {
     372      private int line;
     373      public int Line {
     374        get { return line; }
     375      }
     376      private string token;
     377      public string Token {
     378        get { return token; }
     379      }
     380      public DataFormatException(string message, string token, int line)
     381        : base(message + "\nToken: " + token + " (line: " + line + ")") {
     382        this.token = token;
     383        this.line = line;
     384      }
     385
     386      public DataFormatException(SerializationInfo info, StreamingContext context) : base(info, context) { }
     387    }
    368388  }
    369389}
Note: See TracChangeset for help on using the changeset viewer.