Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11457 for trunk/sources


Ignore:
Timestamp:
10/13/14 12:54:44 (10 years ago)
Author:
bburlacu
Message:

#2218: Moved the SymbolicExpressionImporter from HeuristicLab.Tests to HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Importer.

Location:
trunk/sources
Files:
1 added
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj

    r11156 r11457  
    126126      <SubType>Code</SubType>
    127127    </Compile>
     128    <Compile Include="Importer\SymbolicExpressionImporter.cs" />
     129    <Compile Include="Importer\Token.cs" />
    128130    <Compile Include="Interfaces\IModelBacktransformator.cs" />
    129131    <Compile Include="Matching\SymbolicExpressionTreeCanonicalSorter.cs" />
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Importer/SymbolicExpressionImporter.cs

    r11454 r11457  
    2626using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2727
    28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests {
    29   internal class SymbolicExpressionImporter {
     28namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
     29  public class SymbolicExpressionImporter {
    3030    private const string VARSTART = "VAR";
    3131    private const string LAGGEDVARSTART = "LAGVARIABLE";
     
    8686    StartSymbol startSymbol = new StartSymbol();
    8787
    88     internal ISymbolicExpressionTree Import(string str) {
     88    public ISymbolicExpressionTree Import(string str) {
    8989      str = str.Replace("(", " ( ").Replace(")", " ) ");
    9090      ISymbolicExpressionTreeNode root = programRootSymbol.CreateTreeNode();
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Importer/Token.cs

    r11454 r11457  
    2222using System.Globalization;
    2323
    24 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests {
     24namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
    2525  internal enum TokenSymbol { LPAR, RPAR, SYMB, NUMBER };
    2626  internal class Token {
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeSimplifierTest.cs

    r11171 r11457  
    2323using System.Collections.Generic;
    2424using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     25using HeuristicLab.Problems.DataAnalysis.Symbolic;
    2526using Microsoft.VisualStudio.TestTools.UnitTesting;
    2627
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Tests.csproj

    r11450 r11457  
    481481    <Compile Include="HeuristicLab.Problems.DataAnalysis.Symbolic-3.4\SymbolicDataAnalysisExpressionTreeInterpreterTest.cs" />
    482482    <Compile Include="HeuristicLab.Problems.DataAnalysis.Symbolic-3.4\SymbolicDataAnalysisExpressionTreeSimplifierTest.cs" />
    483     <Compile Include="HeuristicLab.Problems.DataAnalysis.Symbolic-3.4\SymbolicExpressionImporter.cs" />
    484     <Compile Include="HeuristicLab.Problems.DataAnalysis.Symbolic-3.4\Token.cs" />
    485483    <Compile Include="HeuristicLab.Problems.DataAnalysis.Symbolic-3.4\Util.cs" />
    486484    <Compile Include="HeuristicLab.Problems.Instances-3.3\CordeauGQAPInstanceProviderTest.cs" />
Note: See TracChangeset for help on using the changeset viewer.