I'm looking for a basic genetic algorithm coded in Java. I want a copy
of the code that I can reuse for some optimisation problems I'm
looking at. It should be fairly simple Java, as I'm a 'sometime' Java
developer.
Hi rcrossle:
Thanks for the interesting question.
There are many different flavors of Genetic Algorithms. I have found
the following examples of reusable Java classes and code that you can
use as a starting point for your optimisation problems.
The GA Playground (Genetic Algorithms Toolkit)
URL: http://www.aridolan.com/ga/gaa/gaa.html
Quote: "The GA Playground is a general purpose genetic algorithm
toolkit where the user can define and run his own optimization
problems. The toolkit is implemented in the Java language, and
requires (when used as an application, in its full mode), a Java
compiler and a very basic programming knowledge (just enough for
coding a fitness function). Defining a problem consists of creating an
Ascii definition file in a format similar to Windows Ini files, and
modifying the fitness function in the GaaFunction source file. In
addition, other methods can (optionally) be overwritten (e.g. the
drawing method), other classes can be extended or replaced, and
additional input can be supplied through Ascii files."
Download: http://www.aridolan.com/ga/gaa/gaa.html#Download
GAJIT - A Simple Java Genetic Algorithms Package
URL: http://www.micropraxis.com/gajit/index.html
Quote: "GAJIT (Genetic Algorithm Java Implementation Toolkit) is a
rather contrived name for a simple set of classes that I wrote to
experiment with genetic algorithms."
Genetic Programming in Java
URL: http://www.esatclear.ie/~rwallace/gp.html
Quote: "Two applications are provided which implement genetic
programming using a fully Turing-equivalent representation language
with list processing operations, named functions, recursion, LAMBDA
and lexical scoping. Full source code is included in the
distribution."
Please let me know whether any of these packages work for your needs.
If not, then please be more specific about exactly what you are
looking for and I will try again.
Search Strategy (on Google):
* "genetic algorithm" java
- then surfing and selecting the most appropriate examples
I hope this helps!
websearcher
#If you have any other info about this subject , Please add it free.#
Author
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum at arcu. Integer et risus. Morbi id tellus. Integer felis. Mauris malesuada, turpis vitae facilisis euismod, dui arcu adipiscing sem, eu vulputate leo ante in lacus. Sed porta accumsan lectus. Aenean ac sem.