examples.dlife.ga.maxones
Class MaxOnesExperiment

java.lang.Object
  extended by examples.dlife.ga.maxones.MaxOnesExperiment

public class MaxOnesExperiment
extends Object

Uses the dlife.ga package to solve the "Max Ones" problem. This program evolves a dlife.ga.Population of dlife.ga.Individuals, each composed of 100 dlife.ga.BitGene genes with fitness evaluated as the number of 1 genes and individual possesses.

To run this example double click the dLifeDist/UserScripts/RunExample file (Mac/Linux) or the dLifeDist/UserScripts/RunExample.bat file (Windows) and enter the example name:

The source code for this class is contained in the file:

Version:
Jan 7, 2007
Author:
Grant Braught, Dickinson College
See Also:
dlife.ga, Individual, BitGene, RouletteWheel, FixedPointMutation, OnePointCrossover, FixedSizePopulation, MinFitnessTracker, AveFitnessTracker, MaxFitnessTracker

Constructor Summary
MaxOnesExperiment()
           
 
Method Summary
static void main(String[] args)
          Run the MaxOnesExperiment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxOnesExperiment

public MaxOnesExperiment()
Method Detail

main

public static void main(String[] args)
Run the MaxOnesExperiment.

Parameters:
args - none