Closed HeuristicLab-Trac-Bot closed 2 years ago
- Renaming Constant Symbol to Num, behaves like before
- Adding new Symbol RealConstant (Constant), this symbol behaves now like a real constant, won't be changed by parameter optimization or manipulators
- Refactored classes part1
- some more refactoring
- added possibility to set value of num nodes in infix parser
- changed displaying style of number
- Adding INumericSymbol and INumericTreeNode
- Using the new interfaces inside of interpreters and formatters
- Renaming Num to Number, RealConstant to Constant
- More classes refactored
- Refactored ConstantOptimization ==> ParameterOptimization
r18114: made several more changes while reviewing the branch.
r18115: made several more changes for the constant -> number branch
- Added description for
and constants in NLR structure definition - Set constant symbol as disabled in all grammars
- Changed to set value of Constant symbol instead direct of ConstantTreeNode in InfixExpressionParser
r18121: enable number instead of constant for default configurations in TypeCoherentExpressionGrammar
r18123: fixed parsing of Numbers in SymbolicExpressionImporter
r18127: added unit test to create sample for GP - Shape-constrained SymReg
r18129: updated grammars again to use number instead of constant (fixing a bug I introduced earlier) and updated samples again.
r18130: fixed a problem in the DerivativeCalculator for powers with constant exponents
r18131: fixed results for ShapeConstrainedRegressionSampleTest
- Set value of generated constant in GESymbolicExpressionGrammar
- Moved init of variable ranges to base class
- Changed signature order of ShapeConstrainedRegressionProblemData
- Fixed naming in SymbolicExpressionTreeNodeEqualityComparer, SymbolicExpressionTreeBottomUpSimilarityCalculator
- Removed setter from INumericTreeNode
- Fixed SymbolicExpressionImporter check for constants and number individually
- Set exponent of power in DerivativeCalculator to number
- Set number in TreeConstantNodeEditDialog and ExpressionTreeChart
- Fixed setting of VariableRanges in DataAnalysisProblemData
- added the
StorableAttribute
to propertyValue
in symbolConstant
, because theConstantTreeNode
references this property and it causes deserialisazion bugs without the attribute
- Fixed naming in SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator, SymbolicExpressionTreeNodeEqualityComparer and ISymbolicExpressionTreeNodeSimilarityComparer
- Fixed tests in SymbolicExpressionTreeBottomUpSimilarityCalculatorTest
- Added NumberTreeNode const which takes a double
- Added converter to Convert all Constants to Numbers
- Modified SimplifierAxiomsTests to convert all constants to numbers to check the simplification rules
- adapted symbol
Constant
andNumber
forSymbolicDataAnalysisExpressionTreeNativeInterpreter
Bugs / suggestion for improvments:
- values for num are not optimized / changed (tested with paramopt and batchInterpreter)
num values cannot be initialized to negative values (-> fixed in r18169). Only via workaround: - .
r18174: fixed a bug in the calculation of derivatives introduced with changes in the NumberSymbols branch
r18215 (not migrated): delete branch after it was merged back to trunk
Changes have been merged into svn trunk (now main branch). Code has been reviewed and tested.
Issue migrated from trac ticket # 3140
milestone: HeuristicLab 3.3.17 | component: Problems.DataAnalysis.Symbolic | priority: medium
2021-11-22 08:37:43: @chrishaider created the issue