net.sourceforge.cilib.problem.coevolution
Class PerformanceEvaluationOptimizationProblem

java.lang.Object
  extended by net.sourceforge.cilib.problem.OptimisationProblemAdapter
      extended by net.sourceforge.cilib.problem.coevolution.PerformanceEvaluationOptimizationProblem
All Implemented Interfaces:
Serializable, OptimisationProblem, Problem, Cloneable
Direct Known Subclasses:
GameLearningOptimizationProblem

public abstract class PerformanceEvaluationOptimizationProblem
extends OptimisationProblemAdapter

Author:
leo This class represents all kinds of problems where an entity's fitness is determined by performing a task a number of times. For example when a game player is optimized the fitness is determined by playing the game a number of times and a score is assigned based on the entitie's performance in the game.
See Also:
Serialized Form

Field Summary
protected  FitnessCalculationStrategy fitnessCalculation
           
protected  int numberOfEvaluations
           
 
Fields inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter
dataSetBuilder, fitnessEvaluations
 
Constructor Summary
PerformanceEvaluationOptimizationProblem()
           
PerformanceEvaluationOptimizationProblem(PerformanceEvaluationOptimizationProblem copy)
          Copy constructor
 
Method Summary
 int getNumberOfEvaluations()
           
 void setFitnessCalculation(FitnessCalculationStrategy fitnessCalculation)
           
 void setNumberOfEvaluations(int amountEvaluations)
           
 
Methods inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter
accept, calculateFitness, changeEnvironment, getChangeStrategy, getClone, getDataSetBuilder, getFitness, getFitnessEvaluations, setChangeStrategy, setDataSetBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.cilib.problem.OptimisationProblem
getBehaviouralDomain, getDomain
 

Field Detail

numberOfEvaluations

protected int numberOfEvaluations

fitnessCalculation

protected FitnessCalculationStrategy fitnessCalculation
Constructor Detail

PerformanceEvaluationOptimizationProblem

public PerformanceEvaluationOptimizationProblem()

PerformanceEvaluationOptimizationProblem

public PerformanceEvaluationOptimizationProblem(PerformanceEvaluationOptimizationProblem copy)
Copy constructor

Parameters:
copy -
Method Detail

setFitnessCalculation

public void setFitnessCalculation(FitnessCalculationStrategy fitnessCalculation)

getNumberOfEvaluations

public int getNumberOfEvaluations()

setNumberOfEvaluations

public void setNumberOfEvaluations(int amountEvaluations)


Copyright © 2009 CIRG. All Rights Reserved.