heal-research / HeuristicLab

HeuristicLab - An environment for heuristic and evolutionary optimization
https://dev.heuristiclab.com
GNU General Public License v3.0
39 stars 16 forks source link

Implement GP problem for code generation #2069

Closed HeuristicLab-Trac-Bot closed 8 years ago

HeuristicLab-Trac-Bot commented 11 years ago

Issue migrated from trac ticket # 2069

milestone: HeuristicLab 3.3.13 | component: Problems.GeneticProgramming | priority: medium | resolution: done

2013-06-10 15:41:51: @Shabbafru created the issue


This works at the moment for RoboCode but should be generalized in the future for other games/applications.

There are two branches for this ticket:

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-10 15:42:24: @Shabbafru changed status from new to accepted

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-10 15:42:48: @Shabbafru commented


r9414 added robocode branch

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-10 15:43:14: @Shabbafru commented


r9565 Robocode Plugin code without Mutation Operators

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-10 15:43:58: @Shabbafru commented


r9567, r9570 some bugfixes

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-10 15:48:35: @Shabbafru commented


r9601

  • fixed cloning in Solution so that the SolutionCodeView can run a battle
  • fixed a compiler warning in CodeNodeView
HeuristicLab-Trac-Bot commented 11 years ago

2013-06-10 15:50:22: @Shabbafru edited the issue description

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-10 17:38:22: @Shabbafru commented


r9603 fixed object disposed exception in CodeNodeView that occurred when switching the viewhost

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-12 13:05:01: @Shabbafru commented


r9609

  • Added EmptyEvent.cs
  • Modified Grammar.cs to allow EmptyEvent as a child in place of all Event Methods except for Run and OnScannedEvent
HeuristicLab-Trac-Bot commented 11 years ago

2013-06-12 13:05:37: @Shabbafru commented


r9612

  • fixed error handling for external program calls
  • added missing StorableClass attribute
HeuristicLab-Trac-Bot commented 11 years ago

2013-06-14 11:03:27: @Shabbafru commented


r9630 fixed cloning constructors and formatting

HeuristicLab-Trac-Bot commented 11 years ago

2013-06-14 23:24:16: @Shabbafru commented


r9631 tanks should only be required to implement run, the other methods should be optional

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-02 10:22:34: @Shabbafru commented


r9642 Changed back the Grammar to require OnScannedRobot event

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 10:22:45: @Shabbafru commented


r9760 created own branch for robocode trunk integration

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 10:27:15: @Shabbafru edited the issue description

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 10:28:59: @Shabbafru commented


r9761 fixed project file to work with our directory layout

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 11:44:45: @Shabbafru commented


r9763 added frame files

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 13:38:39: @Shabbafru commented


r9779 created an own plugin for the views

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 13:42:15: @Shabbafru commented


r9780 fixed naming of project files

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 13:50:39: @Shabbafru commented


r9781 fixed folder layout

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 14:55:24: @Shabbafru commented


r9787 sign assemblies and cleaned up plugin dependencies

HeuristicLab-Trac-Bot commented 11 years ago

2013-07-26 15:13:22: @Shabbafru commented


r9790

  • added license headers
  • corrected version information
  • fixed formatting
HeuristicLab-Trac-Bot commented 11 years ago

2013-08-13 10:56:16: @Shabbafru commented


r9879 removed unused symbols and cleaned up code

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-13 12:11:32: @Shabbafru commented


r9880 removed dead code

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-13 15:27:56: @Shabbafru commented


r9881 improved interpreter

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-14 10:28:36: @Shabbafru commented


r9882 cleaned up battlerunner

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-20 14:03:00: @Shabbafru commented


r9884

  • qualities are now scaled between 0 and 1
  • fixed naming of robots
HeuristicLab-Trac-Bot commented 11 years ago

2013-08-21 12:00:10: @Shabbafru commented


r9888

  • fixed parsing of qualities
  • removed robocode method crossover as it was never used anyways
HeuristicLab-Trac-Bot commented 11 years ago

2013-08-21 14:38:21: @Shabbafru commented


r9889 cleaned up views

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-21 15:21:16: @Shabbafru commented


r9890

  • changed Solution from NamedItem to Item
  • adapted views to be only ItemViews
  • some more minor improvements
HeuristicLab-Trac-Bot commented 11 years ago

2013-08-21 16:14:17: @Shabbafru commented


r9891 moved battle runner from Robocode directory to HL bin

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-21 16:24:52: @Shabbafru commented


r9892 use directory values instead of string values for the robocode path

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-22 15:16:26: @Shabbafru commented


r9898 added automatic discovery of robocode jars

HeuristicLab-Trac-Bot commented 11 years ago

2013-08-22 16:13:15: @Shabbafru commented


r9899 fixed bug in quality calculation

HeuristicLab-Trac-Bot commented 11 years ago

2013-09-02 15:12:08: @Shabbafru commented


r9926

  • renamed path parameter to robocode path
  • made number of rounds configurable
HeuristicLab-Trac-Bot commented 11 years ago

2013-09-11 15:21:03: @jkarder commented


r9947:

  • modified the RobocodeProblem to extract all robots in robocode directory
  • modified the battle runner to take a number of enemies that should be battled
HeuristicLab-Trac-Bot commented 11 years ago

2013-09-13 14:05:28: @Shabbafru commented


r9962 some minor fixes in the enemy detection

HeuristicLab-Trac-Bot commented 11 years ago

2013-09-16 10:31:26: @Shabbafru commented


r9966 improved robot detection in BattleRunner

HeuristicLab-Trac-Bot commented 11 years ago

2013-09-16 10:45:02: @Shabbafru commented


r9967 removed External Evaluator folder

HeuristicLab-Trac-Bot commented 11 years ago

2013-09-16 16:01:15: @Shabbafru commented


r9971 added a view for displaying/reloading enemies

HeuristicLab-Trac-Bot commented 11 years ago

2013-09-16 16:14:59: @Shabbafru commented


r9972 improved EnemyCollectionView

HeuristicLab-Trac-Bot commented 11 years ago

2013-09-17 14:06:23: @Shabbafru commented


r9983 fixed project file

HeuristicLab-Trac-Bot commented 11 years ago

2013-09-18 10:24:39: @jkarder commented


r9985:

  • fixed deserialization of the RobocodeProblem
  • added a BattleRunnerDialog that allows to configure some arguments of the battle runner
  • added functionality to save a Solution in a java file
HeuristicLab-Trac-Bot commented 11 years ago

2013-10-01 12:09:26: @jkarder commented


r10011:

  • refactored grammar and symbols
  • fixed cloning and storable ctors
  • fixed plugin dependencies
HeuristicLab-Trac-Bot commented 11 years ago

2013-10-01 16:39:48: @jkarder commented


r10014:

  • refactored grammar and symbols
  • changed RobocodeProblem to use the ProbabilisticTreeCreator by default
HeuristicLab-Trac-Bot commented 11 years ago

2013-10-02 15:04:41: @Shabbafru commented


@jkarder: Thanks a lot for improving the grammar, looks very good! Are you finished with the grammar or are there still any open issues?

HeuristicLab-Trac-Bot commented 11 years ago

2013-10-07 08:50:20: @jkarder commented


r10028:

  • merged IfStat and ElseStat into IfThenElseStat
  • changed the font of the suffixCode text box in the CodeNodeView
HeuristicLab-Trac-Bot commented 11 years ago

2013-10-07 09:02:06: @jkarder commented


Replying to [comment:45 ascheibe]:

@jkarder: Thanks a lot for improving the grammar, looks very good! Are you finished with the grammar or are there still any open issues? Thanks! I think there still might be some refactoring left to do, but I will leave the code as is for now.

HeuristicLab-Trac-Bot commented 11 years ago

2013-10-16 15:47:37: @Shabbafru commented


r10043

  • use groups for defining allowed child symbols in grammar
  • split functions group into functions and actions in grammar
  • moved run symbol to event group in grammar
  • fixed a bug in the ifthenelse symbol
  • enemy collection now marks one enemy per default
HeuristicLab-Trac-Bot commented 11 years ago

2013-10-16 16:25:47: @Shabbafru commented


r10044

  • incremented version number
  • fixed a bug in ShotPower
  • updated BattleRunner docu
HeuristicLab-Trac-Bot commented 11 years ago

2013-10-17 10:14:22: @Shabbafru commented


r10045 fixed a bug in the BattleRunner