org.vizzini.ai.geneticalgorithm
Interface IGameGeneticAlgorithm

All Superinterfaces:
IGeneticAlgorithm
All Known Subinterfaces:
IGameGeneticAlgorithmGP
All Known Implementing Classes:
AbstractGameGeneticAlgorithm, TicTacToeGeneticAlgorithm

public interface IGameGeneticAlgorithm
extends IGeneticAlgorithm

Defines methods required by game genetic algorithms.

Since:
v0.1
Version:
v0.1
Author:
Jeffrey M. Thompson

Method Summary
 int getFitnessLoss()
          Return the fitness loss value.
 int getFitnessTie()
          Return the fitness tie value.
 int getFitnessWin()
          Return the fitness win value.
 void setFitnessLoss(int fitness)
          Set the fitness loss value.
 void setFitnessTie(int fitness)
          Set the fitness tie value.
 void setFitnessWin(int fitness)
          Set the fitness win value.
 void setVerbose(boolean isVerbose)
          Set the flag which indicates whether to provide text output.
 
Methods inherited from interface org.vizzini.ai.geneticalgorithm.IGeneticAlgorithm
getCrossoverFraction, getCrossoverType, getElapsedTime, getGeneration, getMostFit, getMutationFraction, getMutationMagnitude, getMutationRate, getPopulationSize, getProcessingRate, reset, runGenerations, setAverageCrossoverFraction, setCrossoverFraction, setCrossoverType, setDuplicateAllowed, setMutationFraction, setMutationMagnitude, setMutationRate, setPopulationSize, writeReport
 

Method Detail

setFitnessLoss

void setFitnessLoss(int fitness)
Set the fitness loss value. Typically this value is negative.

Since:
v0.1

getFitnessLoss

int getFitnessLoss()
Return the fitness loss value.

Since:
v0.1

setFitnessTie

void setFitnessTie(int fitness)
Set the fitness tie value.

Since:
v0.1

getFitnessTie

int getFitnessTie()
Return the fitness tie value.

Since:
v0.1

setFitnessWin

void setFitnessWin(int fitness)
Set the fitness win value. Typically this value is positive.

Since:
v0.1

getFitnessWin

int getFitnessWin()
Return the fitness win value.

Since:
v0.1

setVerbose

void setVerbose(boolean isVerbose)
Set the flag which indicates whether to provide text output.

Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02