Changeset 2324


Ignore:
Timestamp:
09/02/09 10:39:35 (12 years ago)
Author:
mkommend
Message:

moved DoubleExtension to HeuristicLab.Common (ticket #733)

Location:
trunk/sources
Files:
1 added
1 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Common/3.2/HeuristicLab.Common-3.2.csproj

    r2323 r2324  
    6464  </ItemGroup>
    6565  <ItemGroup>
     66    <Compile Include="DoubleExtensions.cs">
     67      <SubType>Code</SubType>
     68    </Compile>
    6669    <Compile Include="EnumerableEventArgs.cs" />
    6770    <Compile Include="HeuristicLabCommonPlugin.cs" />
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/HL3TreeEvaluator.cs

    r2226 r2324  
    2222using System;
    2323using System.Diagnostics;
    24 using HeuristicLab.Modeling; // double.IsAlmost extension
     24using HeuristicLab.Common; // double.IsAlmost extension
    2525
    2626namespace HeuristicLab.GP.StructureIdentification {
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/HeuristicLab.GP.StructureIdentification-3.3.csproj

    r2319 r2324  
    149149  </ItemGroup>
    150150  <ItemGroup>
     151    <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj">
     152      <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project>
     153      <Name>HeuristicLab.Common-3.2</Name>
     154    </ProjectReference>
    151155    <ProjectReference Include="..\..\HeuristicLab.Core\3.2\HeuristicLab.Core-3.2.csproj">
    152156      <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/HeuristicLabGPStructureIdentificationPlugin.cs

    r2222 r2324  
    2525  [ClassInfo(Name = "HeuristicLab.GP.StructureIdentification-3.3")]
    2626  [PluginFile(Filename = "HeuristicLab.GP.StructureIdentification-3.3.dll", Filetype = PluginFileType.Assembly)]
     27  [Dependency(Dependency = "HeuristicLab.Common-3.2")]
    2728  [Dependency(Dependency = "HeuristicLab.Core-3.2")]
    2829  [Dependency(Dependency = "HeuristicLab.Data-3.2")]
  • trunk/sources/HeuristicLab.LinearRegression/3.2/HeuristicLab.LinearRegression-3.2.csproj

    r2222 r2324  
    101101  </ItemGroup>
    102102  <ItemGroup>
     103    <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj">
     104      <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project>
     105      <Name>HeuristicLab.Common-3.2</Name>
     106    </ProjectReference>
    103107    <ProjectReference Include="..\..\HeuristicLab.Core\3.2\HeuristicLab.Core-3.2.csproj">
    104108      <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>
  • trunk/sources/HeuristicLab.LinearRegression/3.2/HeuristicLabLinearRegressionPlugin.cs

    r2222 r2324  
    2828  [PluginFile(Filename = "HeuristicLab.LinearRegression-3.2.dll", Filetype = PluginFileType.Assembly)]
    2929  [PluginFile(Filename = "ALGLIB License.txt", Filetype = PluginFileType.License)]
     30  [Dependency(Dependency = "HeuristicLab.Common-3.2")]
    3031  [Dependency(Dependency = "HeuristicLab.Core-3.2")]
    3132  [Dependency(Dependency = "HeuristicLab.Data-3.2")]
  • trunk/sources/HeuristicLab.LinearRegression/3.2/LinearRegressionOperator.cs

    r2226 r2324  
    2424using System.Text;
    2525using HeuristicLab.Core;
     26using HeuristicLab.Common;
    2627using HeuristicLab.Data;
    2728using HeuristicLab.DataAnalysis;
  • trunk/sources/HeuristicLab.Modeling/3.2/HeuristicLab.Modeling-3.2.csproj

    r2319 r2324  
    8484    <Compile Include="AnalyzerModel.cs" />
    8585    <Compile Include="ClassificationProblemInjector.cs" />
    86     <Compile Include="DoubleExtensions.cs" />
    8786    <Compile Include="IAnalyzerModel.cs" />
    8887    <Compile Include="MatrixCreator.cs" />
     
    112111  </ItemGroup>
    113112  <ItemGroup>
     113    <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj">
     114      <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project>
     115      <Name>HeuristicLab.Common-3.2</Name>
     116    </ProjectReference>
    114117    <ProjectReference Include="..\..\HeuristicLab.Core\3.2\HeuristicLab.Core-3.2.csproj">
    115118      <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>
  • trunk/sources/HeuristicLab.Modeling/3.2/HeuristicLabModelingPlugin.cs

    r2223 r2324  
    2828  [ClassInfo(Name = "HeuristicLab.Modeling-3.2")]
    2929  [PluginFile(Filename = "HeuristicLab.Modeling-3.2.dll", Filetype = PluginFileType.Assembly)]
     30  [Dependency(Dependency = "HeuristicLab.Common-3.2")]
    3031  [Dependency(Dependency = "HeuristicLab.Core-3.2")]
    3132  [Dependency(Dependency = "HeuristicLab.Data-3.2")]
  • trunk/sources/HeuristicLab.Modeling/3.2/SimpleMeanAbsolutePercentageOfRangeErrorEvaluator.cs

    r2226 r2324  
    2525using System.Text;
    2626using HeuristicLab.Core;
     27using HeuristicLab.Common;
    2728using HeuristicLab.Data;
    2829using HeuristicLab.DataAnalysis;
  • trunk/sources/HeuristicLab.Modeling/3.2/SimpleVarianceAccountedForEvaluator.cs

    r2226 r2324  
    2525using System.Text;
    2626using HeuristicLab.Core;
     27using HeuristicLab.Common;
    2728using HeuristicLab.Data;
    2829using HeuristicLab.DataAnalysis;
  • trunk/sources/HeuristicLab.Modeling/3.2/VariableEvaluationImpactCalculator.cs

    r2319 r2324  
    2525using System.Xml;
    2626using HeuristicLab.Core;
     27using HeuristicLab.Common;
    2728using HeuristicLab.Data;
    2829using HeuristicLab.DataAnalysis;
     
    3839      AddVariableInfo(new VariableInfo("TargetVariable", "TargetVariable", typeof(IntData), VariableKind.In));
    3940      AddVariableInfo(new VariableInfo("InputVariableNames", "Names of used variables in the model (optional)", typeof(ItemList<StringData>), VariableKind.In));
    40       AddVariableInfo(new VariableInfo("SamplesStart", "SamplesStart", typeof(IntData), VariableKind.In));
    41       AddVariableInfo(new VariableInfo("SamplesEnd", "SamplesEnd", typeof(IntData), VariableKind.In));
     41      AddVariableInfo(new VariableInfo("SamplesStart", "TrainingSamplesStart", typeof(IntData), VariableKind.In));
     42      AddVariableInfo(new VariableInfo("SamplesEnd", "TrainingSamplesEnd", typeof(IntData), VariableKind.In));
    4243      AddVariableInfo(new VariableInfo("VariableEvaluationImpacts", "VariableEvaluationImpacts", typeof(ItemList), VariableKind.New));
    4344    }
     
    7677
    7778    }
    78 
    7979    public static Dictionary<string, double> Calculate(Dataset dataset, IPredictor predictor, string targetVariableName, int start, int end) {
    8080      return Calculate(dataset, predictor, targetVariableName, null, start, end);
    8181    }
    82 
    8382
    8483    public static Dictionary<string, double> Calculate(Dataset dataset, IPredictor predictor, string targetVariableName, IEnumerable<string> inputVariableNames, int start, int end) {
Note: See TracChangeset for help on using the changeset viewer.