This Java application is an approximated simulation of a genetic experiment in artificial selection by an Austrian biologist Gregor Mendel.
The cross-fertilisation of white and red flowers will gradually decrease the share of the white ones in the sample. The goal of this experiment is to find out in how many generations of flowers the share of white roses in the sample of red and white roses will reach the defined acceptance rate.
Source code:
https://github.com/JavaMedvedev/genetic-experiment-in-artificial-selection