Changeset 5925 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators
- Timestamp:
- 04/01/11 13:45:24 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/ChangeNodeTypeManipulation.cs
r5809 r5925 53 53 // do not replace the existing symbol with itself 54 54 where symbol.Name != subtree.Symbol.Name 55 where symbol.InitialFrequency > 0 55 56 where existingSubtreeCount <= parent.Grammar.GetMaximumSubtreeCount(symbol) 56 57 where existingSubtreeCount >= parent.Grammar.GetMinimumSubtreeCount(symbol) -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/ReplaceBranchManipulation.cs
r5809 r5925 78 78 // do not replace symbol with the same symbol 79 79 where symbol.Name != subtree.Symbol.Name 80 where symbol.InitialFrequency > 0 80 81 where parent.Grammar.GetMinimumExpressionDepth(symbol) <= maxDepth 81 82 where parent.Grammar.GetMinimumExpressionLength(symbol) <= maxLength
Note: See TracChangeset
for help on using the changeset viewer.