Closed HeuristicLab-Trac-Bot closed 13 years ago
Here are other configurations which also caused a
StackOverflowException
:ProgramRootSymbol (0) StartSymbol (0) Defun (1) Addition (1) Subtraction (0) Multiplication (0) Division (0) Average (0) Sine (1) Cosine (1) Tangent (0) Logarithm (1) Power (1) Root (0) Exponential (0) IfThenElse (1) GreaterThan (0) LessThan (0) And (0) Or (0) Not (1) TimeLag (1) Integral (0) Derivative (0) Constant (1) Variable (1) LaggedVariable (0) Variable Condition (1)
ProgramRootSymbol (1) StartSymbol (1) Defun (1) Addition (0) Subtraction (0) Multiplication (1) Division (1) Average (0) Sine (1) Cosine (1) Tangent (1) Logarithm (1) Power (0) Root (1) Exponential (1) IfThenElse (1) GreaterThan (0) LessThan (0) And (0) Or (1) Not (1) TimeLag (1) Integral (0) Derivative (0) Constant (1) Variable (1) LaggedVariable (1) Variable Condition (0)
I can't exactly figure out, what the error in the configuration is.
Replying to [comment:1 cneumuel]:
Here are other configurations which also caused a
StackOverflowException
:[...]
I can't exactly figure out, what the error in the configuration is.
In the type coherent grammar the
IfThenElse
symbol is configured in such a way that it needs a boolean value for the condition. Boolean values can only be generated from variables and constants through relational operators (>
and<
).
- implemented a check in
PTC2
operator- fixed bugs in
SymbolicExpressionGrammarBase
- made some small changes in both classes to prevent numeric overflow exceptions
Issue migrated from trac ticket # 1472
milestone: HeuristicLab 3.3.4 | component: Encodings.SymbolicExpressionTreeEncoding | priority: medium | resolution: done
2011-04-13 00:04:04: @discostu105 created the issue