Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/16/11 19:01:00 (13 years ago)
Author:
gkronber
Message:

#1418 changes in symbolic expression tree encoding.

Location:
branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4

    • Property svn:ignore
      •  

        old new  
        22obj
        33HeuristicLabEncodingsSymbolicExpressionTreeEncodingPlugin.cs
         4*.user
  • branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeNode.cs

    r5473 r5499  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;
    2827using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2928
    3029namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
    3130  [StorableClass]
    32   public class SymbolicExpressionTreeNode : DeepCloneable {
     31  public class SymbolicExpressionTreeNode : DeepCloneable, ISymbolicExpressionTreeNode {
    3332    [Storable]
    3433    private IList<SymbolicExpressionTreeNode> subTrees;
     
    9695    }
    9796
    98     public virtual ISymbolicExpressionGrammar Grammar {
     97    public virtual ISymbolicExpressionTreeGrammar Grammar {
    9998      get { return parent.Grammar; }
    10099    }
     
    175174    }
    176175
    177     public IEnumerable<Symbol> GetAllowedSymbols(int argumentIndex) {
     176    public IEnumerable<ISymbol> GetAllowedSymbols(int argumentIndex) {
    178177      return Grammar.Symbols.Where(s => Grammar.IsAllowedChild(Symbol, s, argumentIndex));
    179178    }
Note: See TracChangeset for help on using the changeset viewer.