Changeset 18064 for trunk/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/BalancedTreeCreator.cs
- Timestamp:
- 10/06/21 16:13:37 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/BalancedTreeCreator.cs
r18018 r18064 171 171 } 172 172 173 protected override ISymbolicExpressionTree Create(IRandom random) {174 var maxLength = MaximumSymbolicExpressionTreeLengthParameter.ActualValue.Value;175 var maxDepth = MaximumSymbolicExpressionTreeDepthParameter.ActualValue.Value;176 var grammar = ClonedSymbolicExpressionTreeGrammarParameter.ActualValue;177 return Create(random, grammar, maxLength, maxDepth);178 }179 180 173 #region helpers 181 174 private class NodeInfo {
Note: See TracChangeset
for help on using the changeset viewer.