AI::Evolve::Befunge

Practical evolution of Befunge AI programs
Download

AI::Evolve::Befunge Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Mark Glines
  • Publisher web site:
  • http://search.cpan.org/~infinoid/

AI::Evolve::Befunge Tags


AI::Evolve::Befunge Description

Practical evolution of Befunge AI programs AI::Evolve::Befunge is a Perl module that provides all of the necessary tools to grow a population of AI creatures which are fit to perform a task.Normally, end users can use the "evolve" script as a frontend. If that's what you're after, please see the documentation contained within that script. Otherwise, read on.This particular file (AI/Evolve/Befunge.pm) does not contain any code; it exists mainly to provide a version number to keep Build.PL happy. The rest of this file acts as a quick-start guide to the rest of the codebase.The important bits from a user's standpoint are the Population object (which drives the main process of evolving AI), and the Physics plugin (which implements the rules of the universe those AI live in). There are sections below containing more detail on what these two things are, and how they work.SYNOPSIS use aliased 'AI::Evolve::Befunge::Population' => 'Population'; use AI::Evolve::Befunge::Util qw(v nonquiet); $pop = Population->new(); while(1) { my $gen = $pop->generation; nonquiet("generation $gen "); $pop->fight(); $pop->breed(); $pop->migrate(); $pop->save(); $pop->generation($gen+1); } Requirements: · Perl


AI::Evolve::Befunge Related Software