net.sourceforge.cilib.problem.coevolution
Interface CoevolutionOptimisationProblem

All Known Implementing Classes:
CompetitiveCoevolutionGameLearningOptimizationProblem

public interface CoevolutionOptimisationProblem

This interface should be extended by any problem that should be optimised using a CoevolutionAlgorithm

Author:
leo

Method Summary
 Fitness evaluateEntity(int populationID, int evaluationRound, Blackboard<Enum<?>,Type> entityData)
          This method evaluates an entity with regards to a number of groups of entities depending on the instance of the problem
 int getAmountSubPopulations()
          this will correlate with the amount of groups of entites an individual required for evaluation
 DomainRegistry getSubPopulationDomain(int populationNo)
          This method is used by the coevolution algorithm to assign an optimization problem instance to each sub population this optimization problem needs to define the domain for that specific sub population
 void initializeEntities(PopulationBasedAlgorithm pba, int populationID)
          This method adds any problem specific entries to the all the populations entites's blackboards.
 

Method Detail

evaluateEntity

Fitness evaluateEntity(int populationID,
                       int evaluationRound,
                       Blackboard<Enum<?>,Type> entityData)
This method evaluates an entity with regards to a number of groups of entities depending on the instance of the problem

Parameters:
the - population of the solution to be evaluated
entityData - the blackboard of the Entity being evaluated. This contains the solution vector, scoreboard and competitor list
Returns:
the entitie's fitness

getSubPopulationDomain

DomainRegistry getSubPopulationDomain(int populationNo)
This method is used by the coevolution algorithm to assign an optimization problem instance to each sub population this optimization problem needs to define the domain for that specific sub population

Parameters:
populationNo - the population number for the sub population for which this problem is generated
Returns:
the optimization problem for the sub population

initializeEntities

void initializeEntities(PopulationBasedAlgorithm pba,
                        int populationID)
This method adds any problem specific entries to the all the populations entites's blackboards.

Parameters:
pba - the sub population to initialize
populationID - the populationID of the sub population

getAmountSubPopulations

int getAmountSubPopulations()
this will correlate with the amount of groups of entites an individual required for evaluation

Returns:
the amount of sub population for this problem


Copyright © 2009 CIRG. All Rights Reserved.