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/Manipulators/ReplaceBranchManipulation.cs

    r5499 r5529  
    7979      int maxDepth = maxTreeDepth - symbolicExpressionTree.Height + manipulationPoint.Node.GetHeight();
    8080      // find possible symbols for the node (also considering the existing branches below it)
    81       var allowedSymbols = (from symbol in manipulationPoint.Parent.GetAllowedSymbols(manipulationPoint.Index)
     81      var allowedSymbols = (from symbol in manipulationPoint.Parent.Grammar.GetAllowedSymbols(manipulationPoint.Parent.Symbol, manipulationPoint.Index)
    8282                            where manipulationPoint.Node.Grammar.GetMinExpressionDepth(symbol) <= maxDepth
    8383                            where manipulationPoint.Node.Grammar.GetMinExpressionLength(symbol) <= maxLength
Note: See TracChangeset for help on using the changeset viewer.