- Timestamp:
- 07/13/21 16:11:04 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/BalancedTreeCreator.cs
r17441 r18008 108 108 var grammar = root.Grammar; 109 109 var minSubtreeCount = grammar.GetMinimumSubtreeCount(root.Symbol); 110 var maxSubtreeCount = grammar.GetM inimumSubtreeCount(root.Symbol);110 var maxSubtreeCount = grammar.GetMaximumSubtreeCount(root.Symbol); 111 111 var arity = random.Next(minSubtreeCount, maxSubtreeCount + 1); 112 112 int openSlots = arity;
Note: See TracChangeset
for help on using the changeset viewer.