Closed ashraf04066 closed 1 year ago
Hi @ashraf04066 ,
Thanks for the PR!
The reason why you only generate 1.0
is due to using int
s and not double
s in your calculations. Thus, Java will round the division and return 1.0
.
I am introducing a correct implementation of Tarantula
in #243 , and I'm also changing the types to doubles to prevent other similar errors.
You can select it with the option --formula=TARANTULA
through the cli, or by setting the formula option in the API.
Here, I have added Tarantula laws instead of Ochiai.