Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/21/11 17:49:23 (13 years ago)
Author:
gkronber
Message:

#1418 Removed grammar specific members from ISymbolicExpressionTreeNode interface.

File:
1 edited

Legend:

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

    r5510 r5529  
    178178    }
    179179
    180     public IEnumerable<ISymbol> GetAllowedSymbols(int argumentIndex) {
    181       return Grammar.Symbols.Where(s => Grammar.IsAllowedChild(Symbol, s, argumentIndex));
    182     }
    183 
    184     public int GetMinSubtreeCount() {
    185       return Grammar.GetMinSubtreeCount(Symbol);
    186     }
    187     public int GetMaxSubtreeCount() {
    188       return Grammar.GetMaxSubtreeCount(Symbol);
    189     }
    190180    public override string ToString() {
    191181      return Symbol.Name;
Note: See TracChangeset for help on using the changeset viewer.