net.sourceforge.cilib.coevolution.selection
Class OpponentPoolSelectionStrategy
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpponentPoolSelectionStrategy
public OpponentPoolSelectionStrategy()
OpponentPoolSelectionStrategy
public OpponentPoolSelectionStrategy(OpponentPoolSelectionStrategy other)
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 competitorspopulations
- the list of sub populations
Copyright © 2009 CIRG. All Rights Reserved.