Changeset 18027 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4
- Timestamp:
- 07/20/21 18:13:55 (3 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding merged: 18008,18018
- Property svn:mergeinfo changed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Creators/BalancedTreeCreator.cs
r17928 r18027 53 53 private void AfterDeserialization() { 54 54 if (!Parameters.ContainsKey(IrregularityBiasParameterName)) { 55 Parameters.Add(new FixedValueParameter<PercentValue>(IrregularityBiasParameterName, new PercentValue(0.0)));55 Parameters.Add(new FixedValueParameter<PercentValue>(IrregularityBiasParameterName, "Allows to bias tree initialization towards less balanced/regular shapes. Set to 0% for most balanced and 100% for least balanced trees. (default = 0%)", new PercentValue(0.0))); 56 56 } 57 57 } … … 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.