Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5881


Ignore:
Timestamp:
03/30/11 13:10:43 (14 years ago)
Author:
epitzer
Message:

Adopt TypeCoherentExpressionGrammar from HeuristicLab.Problems.DataAnalysis.Symbolic for external evaluation (#1459)

Location:
trunk/sources/HeuristicLab.Problems.ExternalEvaluation.GP/3.3
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/HeuristicLab.Problems.ExternalEvaluation.GP-3.3.csproj

    r5809 r5881  
    109109    <None Include="HeuristicLabProblemsExternalEvaluationGPPlugin.cs.frame" />
    110110    <Compile Include="Grammar\FullFunctionalExpressionGrammar.cs" />
     111    <Compile Include="Grammar\TypeCoherentExpressionGrammar.cs" />
    111112    <Compile Include="HeuristicLabProblemsExternalEvaluationGPPlugin.cs" />
    112113    <Compile Include="Interpretation\ITreeInterpreter.cs" />
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/SymbolicExpressionTreeStringConverter.cs

    r5445 r5881  
    6060
    6161    protected override void ConvertSymbolicExpressionTree(SymbolicExpressionTree tree, string name, SolutionMessage.Builder builder) {
    62       string stringRep = formatter.Format(tree);
    63       stringRep.Replace(Environment.NewLine, "");
     62      string stringRep = formatter.Format(tree);     
     63      stringRep = stringRep.Replace(Environment.NewLine, "");
    6464      SolutionMessage.Types.StringVariable.Builder stringVariable = SolutionMessage.Types.StringVariable.CreateBuilder();
    6565      stringVariable.SetName(name).SetData(stringRep);
Note: See TracChangeset for help on using the changeset viewer.