VIII. 関数の極値(Extreme of Function)
問題について
関数の極値を探すという同じ問題ですが、今回は自分で2次元の関数を定義できます。
The problem is again the same - looking for extreme of a function. But here you can define your own 3D function.
Example
Graph represents search space and lines represent solutions (points in
search space). The red line is the best solution, blue lines are the other
ones.
You can enter your own function in a text field below graph (after change
press enter or button Change). Below it you can define limits of function.
Function can consist of x, y, pi, e, (, ), /, *, +, -, !, ^ and functions
abs, acos, acosh, asin, asinh, atan, atanh, cos, cosh, ln, log, sin, sinh,
sqr, sqrt, tan and tanh.
The graph can be rotated by dragging mouse over it.
You can also change crossover and mutation probability. Checkboxes control
elitism and if it is looked for minimum or maximum.
Try to change the function and look, how GA works. If you find some interesting
function, where GA behaves very good or very strange, you can
email it to me.
![prev](images/prev.gif)
![next](images/next.gif)
(c) Marek Obitko, 1998
Japanese translation (c) Ishii Manabu, 1999 - Terms of use