- Timestamp:
- 11/27/11 22:40:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeGrammar.cs
r6911 r7079 119 119 else return base.GetMinimumExpressionDepth(symbol); 120 120 } 121 int ISymbolicExpressionGrammarBase.GetMaximumExpressionDepth(ISymbol symbol) { 122 if (symbols.Count == 0) return grammar.GetMaximumExpressionDepth(symbol); 123 else return base.GetMaximumExpressionDepth(symbol); 124 } 121 125 int ISymbolicExpressionGrammarBase.GetMinimumExpressionLength(ISymbol symbol) { 122 126 if (symbols.Count == 0) return grammar.GetMinimumExpressionLength(symbol); … … 127 131 else return base.GetMaximumExpressionLength(symbol, maxDepth); 128 132 } 133 129 134 } 130 135 }
Note: See TracChangeset
for help on using the changeset viewer.