Questions tagged [jenetics]

Jenetics is an is an open-source Java library for implementing genetic/evolutionary algorithms and genetic programming. Use this tag for questions that involve the usage of Jenetics.

Jenetics is an open-source Java library for genetic and evolutionary algorithms as well as genetic programming. Related libraries mostly offer an imperative API to interact with the given evolution, whereas Jenetics uses an EvolutionStream that implements the Java Stream interface.

Features

34 questions
0
votes
1 answer

Why mutation probabiltiy is powered by one third?

In jenetics library, following code is given in alter() methid of Mutator class: final double p = pow(_probability, 1.0/3.0); Can anyone please explain the purpose of calculating this new probabilty for mutation? How is it beneficial? How can we use…
anuJ
  • 1
  • 1
0
votes
2 answers

Genetic Algorithm with Top N solutions

Basically I need to find the top N solutions of a genetic algorithm using Java (the solutions with the highest scores). I'm using the Jenetics library for the genetic algorithm, but I can't find how I'll be able to get those results without hacking…
WoLfulus
  • 1,948
  • 1
  • 14
  • 21
-1
votes
1 answer

Jenetics counting fitness on the whole population

by the nature of my problem, I would like to count the fitness of all invididuals in the population at the same time for perfomance reasons. Is there a good way of doing that in jenetics? Thanks
Viktor
  • 521
  • 1
  • 4
  • 17
-1
votes
1 answer

How to increase the population size of genetic algorithm using jenetics.io library in Java?

I am trying to get started using the Jenetics JAVA library for genetic algorithms and there is something I don't understand from my GA limited background. I need to change the default value of population size which is set to 50 into a different…
1 2
3