Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/02/15 13:37:38 (9 years ago)
Author:
gkronber
Message:

#2283: solution reorg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Problems.GrammaticalOptimization/Problems/RoyalPairProblem.cs

    r11847 r11857  
    2323    public RoyalPairProblem() {
    2424      this.grammar = new Grammar(grammarString);
    25       this.SymbolicExpressionGrammar = new GenericSymbExprGrammar(new Grammar(hlGrammarString));
     25      this.TreeBasedGPGrammar = new Grammar(hlGrammarString);
    2626      // TODO: allow configuration of the number of symbols
    2727    }
     
    4646    }
    4747
    48     public IEnumerable<Feature> GetFeatures(string phrase)
    49     {
     48    public IEnumerable<Feature> GetFeatures(string phrase) {
    5049      throw new NotImplementedException();
    5150    }
    52     public ISymbolicExpressionGrammar SymbolicExpressionGrammar { get; private set; }
     51    public IGrammar TreeBasedGPGrammar { get; private set; }
    5352    public string ConvertTreeToSentence(ISymbolicExpressionTree tree) {
    5453      var sb = new StringBuilder();
Note: See TracChangeset for help on using the changeset viewer.