Opened 2 years ago

Closed 2 years ago

#2320 closed enhancement (done)

Add SymbolicExpressionTreeEncoding

Reported by: mkommend Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.12
Component: Encodings.SymbolicExpressionTreeEncoding Version: 3.3.12
Keywords: Cc:

Description

Similar to the other encoding class a SymbolicExpressionTreeEncoding should be created to enable the application of genetic programming on programmable problems.

Attachments (2)

SymbolicExpressionTreeEncoding.cs (6.9 KB) - added by mkommend 2 years ago.
Encoding Test.hl (77.9 KB) - added by mkommend 2 years ago.
Sample file

Download all attachments as: .zip

Change History (37)

Changed 2 years ago by mkommend

comment:1 Changed 2 years ago by mkommend

Bogdan implemented a skeleton (SymbolicExpressionTreeEncoding.cs​) for the new encoding class that could be used as a starting point.

comment:2 Changed 2 years ago by mkommend

r12193: Added folder for sym exp encoding branch.

comment:3 Changed 2 years ago by mkommend

  • Status changed from new to accepted

comment:4 Changed 2 years ago by mkommend

r12194: Branched for symbolic expression tree encoding plugin.

comment:5 Changed 2 years ago by mkommend

r12195: Adapted project to branch directory structure.

comment:6 Changed 2 years ago by mkommend

r12196: Added attached encoding file to the branch.

comment:7 Changed 2 years ago by mkommend

r12266: Corrected event registration in SymbolicExpressionTreeEncoding.

comment:8 Changed 2 years ago by mkommend

r12313: Simplified TreeCreators.

comment:9 Changed 2 years ago by mkommend

r12314: Added a parameter for the expression tree to ISymbolicExpressionTreeOperator.

comment:10 Changed 2 years ago by mkommend

r12316: Implemented symbolic expression tree encoding.

comment:11 Changed 2 years ago by mkommend

r12319: Added simple symbol and grammar for symbolic expression encoding.

comment:12 Changed 2 years ago by mkommend

r12334: Fixed analyzers and parameter typo in symbolic expression tree encoding.

comment:13 Changed 2 years ago by mkommend

r12335: Branched Problems.DataAnalysis.Symbolic to symbolic expression tree encoding branch. r12336: Branched Problems.DataAnalysis.Symbolic.Regression to symbolic expression tree encoding branch. r12337: Branched Problems.DataAnalysis.Symbolic.Classification to symbolic expression tree encoding branch.

comment:14 Changed 2 years ago by mkommend

r12338: Updated project settings and referenced assemblies.

comment:15 Changed 2 years ago by mkommend

r12339: Branched Problems.ArtificialAnt to tree encoding branch. r12340: Branched Problems.GrammaticalEvoluation to tree encoding branch.

comment:16 Changed 2 years ago by mkommend

r12341: Adapted all dependent plugins to the new design of the symbolic expression tree interfaces.

comment:17 Changed 2 years ago by mkommend

r12343: Branched Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis into symbolic expression tree encoding branch. r12344: Branched Problems.LawnMower into symbolic expression tree encoding branch.

comment:18 Changed 2 years ago by mkommend

r12345: Added AfterDeserialization hook for symbolic expression tree operator and adapted lawn mower and timeseries prognis problems.

comment:19 Changed 2 years ago by mkommend

r12346: Small bug fix in FullTreeCreator to account for symbols that could be used in leafe and internal nodes.

Changed 2 years ago by mkommend

Sample file

comment:20 Changed 2 years ago by bburlacu

r12347: Bugfix to allow nodes that can appear both internally or as leafs

comment:21 Changed 2 years ago by mkommend

r12353: Adapted grammars for the new encoding.

comment:22 Changed 2 years ago by mkommend

  • Owner changed from mkommend to gkronber
  • Status changed from accepted to reviewing

comment:23 Changed 2 years ago by mkommend

  • Owner changed from gkronber to mkommend
  • Status changed from reviewing to assigned

Review comments:

  • Hide wired lookup parameters
  • EnumerableExtensions in SymbolicExpressionTreeEncoding should be marked as obsolete

comment:24 Changed 2 years ago by mkommend

r12420: Marked SymbolicExpressionTreeEncoding.EnumberableExtensions as obsolete and called the methods in Random.RandomEnumerable whereever possible.

comment:25 Changed 2 years ago by mkommend

r12421: Hid wired lookup parameters in SymbolicExpressionTreeEncoding.

comment:26 Changed 2 years ago by mkommend

r12422: Merged the encoding class and all accompanying changes in the trunk.

comment:27 Changed 2 years ago by mkommend

  • Status changed from assigned to reviewing

r12423: Removed branch for SymbolicExpressionTreeEncoding.

comment:28 Changed 2 years ago by mkommend

r12424: Adapted plugin file and updated project file of SymbolicExpressionTreeEncoding.

comment:29 Changed 2 years ago by mkommend

  • Version changed from branch to 3.3.12

comment:30 Changed 2 years ago by mkommend

r12480: Fixed error in symbolicexpressiontree crossover regarding the wiring of lookup parameters if persisted file is loaded.

comment:31 Changed 2 years ago by mkommend

r12481: Fixed AfterDeserialization of GEArtifialAntEvaluator.

comment:32 Changed 2 years ago by mkommend

  • Owner changed from mkommend to gkronber

r12482: Fixed warnings in unit test solutions introduced in r12420 by marking methods as obsolete.

comment:33 Changed 2 years ago by gkronber

  • Owner changed from gkronber to mkommend
  • Status changed from reviewing to readytorelease

Reviewed r12420:12424 and r12480:12482

comment:34 Changed 2 years ago by mkommend

r12706: Merged r12422, r12423, r12424, r12480, r12481 and r12482 into stable.

comment:35 Changed 2 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed
Note: See TracTickets for help on using tickets.