Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/13/18 16:56:35 (6 years ago)
Author:
bburlacu
Message:

#2895: Add solution skeleton for PushGP with genealogy analysis.

Location:
branches/2895_PushGP_GenealogyAnalysis
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push/Parser/PushParser.cs

    r15189 r15771  
    1 namespace HeuristicLab.Problems.ProgramSynthesis.Push.Parser {
    2   using System;
    3   using System.Collections.Generic;
    4   using System.Globalization;
    5   using System.Linq;
    6   using System.Text.RegularExpressions;
    7 
    8   using HeuristicLab.Problems.ProgramSynthesis.Push.Constants;
    9   using HeuristicLab.Problems.ProgramSynthesis.Push.Expressions;
    10 
     1using System;
     2using System.Collections.Generic;
     3using System.Globalization;
     4using System.Linq;
     5using System.Text.RegularExpressions;
     6
     7namespace HeuristicLab.Problems.ProgramSynthesis {
    118  public static class PushParser {
    129    private const char delimiter = ' ';
     
    156153          word.EndsWith(PushEnvironment.CharSymbolStr) &&
    157154          word.Length == 3) {
    158           expression = new CharPushExpression(word[1]);
    159           return true;
     155        expression = new CharPushExpression(word[1]);
     156        return true;
    160157      }
    161158
Note: See TracChangeset for help on using the changeset viewer.