net.sourceforge.cilib.coevolution.selection
Class OpponentPoolSelectionStrategy

java.lang.Object
  extended by net.sourceforge.cilib.coevolution.selection.OpponentPoolSelectionStrategy
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
SelectAllSolutionsPoolSelectionStrategy, SelectHOFPoolSelectionStrategy, SelectpBestSolutionsPoolSelectionStrategy

public abstract class OpponentPoolSelectionStrategy
extends Object
implements Cloneable

This strategy is used to select the pool of potential opponents for a competitive coevolution algorithm. When opponents is selected for an Entity the algorithm uses an arbitrary number of OpponentPoolSelectionStrategy's to determine the potentail pool of competitors, then they are selected with the OpponentSelectionStrategy

Author:
leo
See Also:
Serialized Form

Constructor Summary
OpponentPoolSelectionStrategy()
           
OpponentPoolSelectionStrategy(OpponentPoolSelectionStrategy other)
           
 
Method Summary
abstract  void addToCompetitorPool(CoevolutionCompetitorList pool, List<PopulationBasedAlgorithm> populations)
          Add Competitors to the CoevolutionCompetitorList pool from the sub populations
abstract  OpponentPoolSelectionStrategy getClone()
          Create a cloned copy of the current object and return it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpponentPoolSelectionStrategy

public OpponentPoolSelectionStrategy()

OpponentPoolSelectionStrategy

public OpponentPoolSelectionStrategy(OpponentPoolSelectionStrategy other)
Method Detail

getClone

public abstract OpponentPoolSelectionStrategy getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

addToCompetitorPool

public abstract void addToCompetitorPool(CoevolutionCompetitorList pool,
                                         List<PopulationBasedAlgorithm> populations)
Add Competitors to the CoevolutionCompetitorList pool from the sub populations

Parameters:
pool - the pool of competitors
populations - the list of sub populations


Copyright © 2009 CIRG. All Rights Reserved.