A Java library for genetic algorithms