- Timestamp:
- 10/25/19 14:42:59 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/BalancedTreeCreator.cs
r17344 r17345 135 135 var maxChildArity = new int[parentCacheEntry.MaxSubtreeCount]; 136 136 137 HasUnarySymbols |= parentCacheEntry.MaxSubtreeCount == 1; 137 if (!(parent is StartSymbol || parent is Defun)) { 138 HasUnarySymbols |= parentCacheEntry.MaxSubtreeCount == 1; 139 } 138 140 139 141 foreach (var child in AllowedSymbols) {
Note: See TracChangeset
for help on using the changeset viewer.