Menu

#1 GAPI specs

open
nobody
None
9
2003-04-25
2003-04-25
No

GAPI (pronunced gappy) is the Genetic Algorithms Programming Interface - a set of Java classes that
allow users to easily integrate Genetic Algorithms into their Java programs. The classes in the GAPI
core are:

Gene-
Symbolic representation of a single programming command. Made up of 5 hexadecimal "bases" which
identify the specific function of this gene. Can be mutated, etc.

Cell-
Contains many Genes, arranged in such a way as to make a simple computer program. These
programs can be given input, and will return output using the activate(double i1, double i2, double i3)
function.

Culture-
Contains eight Cells. By using the setSuccess(double val) function of the individual Cells, you can
specify how successful their algorithms were at completing their assigned tasks. Then, when you call
the regenerate() function, a new Culture will be made by mutating and mating the most successful cells
from the last generation. Can be made to output the maximum and average "success" value for that
culture.

I hope that with a little bit more development, GAPI will allow anyone from a games programmer to an AI
researcher to create efficient and revolutionary AI's. The alpha version of the GAPI core has been
completed at the posting of this message, and will be uploaded soon.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.