You are hereFunction GeneratorHere we provide an Eclipse plugin for programmers that allows to evolve (i.e., to get in an automated way) simple functions that meet specified requirements (pass through given points). Sources of the project are avaliable at GitHub.
This program is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
InstallationThere are two possible ways of installing the Function Generator plugin:
AutomaticThe recommended way of installation is using project's Update Site. Just paste the link into the Help/Install New Software window and proceed just as in a standard Eclipse installation. ManualTo install this Eclipse plug-in:
FunctionGenerator_1.0.1.jar
(~4.2MB) UsageTo run the plug-in, you can either click the FG icon on the toolbar, or select Function Generator -> Generate Function in the main menu.
The main program window should be shown. There are many options there, from the top:
When problem definition is done, click the Evolve button to begin computation.
Linear scaling problem wizard lets you define constraints on independent variable x0 and dependent variable y. The constraints can be constant or variable (if a variable constraint is chosen, then a new variable – a new dimension will be added to the problem). The user input interpretation is shown at the bottom.
When computation begins, the progress window is shown. Each output entry contains fitness value of the best individual in generation (0 – best fitness, ∞ - worst fitness), its adjusted version using the following equation: adjusted = 1/(1+fitness), and hits points – the number of fulfilled constraints.
During the evolution process, a window with current best solution is shown (the Quality in Time tab). For one-dimensional functions, there preview is available (the Visualization tab). When evolution is done, the result window is shown. A sample result function is underlined in the screenshot below.
|