Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/01/11 13:45:24 (13 years ago)
Author:
gkronber
Message:

#1418 fixed bugs in symbolic expression tree operators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/ChangeNodeTypeManipulation.cs

    r5809 r5925  
    5353                                                      // do not replace the existing symbol with itself
    5454                                                      where symbol.Name != subtree.Symbol.Name
     55                                                      where symbol.InitialFrequency > 0
    5556                                                      where existingSubtreeCount <= parent.Grammar.GetMaximumSubtreeCount(symbol)
    5657                                                      where existingSubtreeCount >= parent.Grammar.GetMinimumSubtreeCount(symbol)
Note: See TracChangeset for help on using the changeset viewer.