Genetic algorithms in XSLT
12:08, 1 May 2001 UTC | Edd Dumbill

When all you have is a hammer... this latest XSLT contortion implements a basic genetic algorithm.

J J Merelo writes of his creation:

... a genetic algorithm is run, in XSL using Saxon, and displayed using Perl and XML::LibXSLT. It's very basic GA, which just optimizes the number of ones in the "chromosome". Each page is a single generation of the chromosome, the XML for each "generation" is also presented.

A paper will soon be published, describing Merelo's work. In the meantime, the GA implementation is available online.

xmlhack: developer news from the XML community

Front page | Search | Find XML jobs

Related categories