net.sourceforge.cilib.coevolution.selection
Class SelectHOFPoolSelectionStrategy
java.lang.Object
net.sourceforge.cilib.coevolution.selection.OpponentPoolSelectionStrategy
net.sourceforge.cilib.coevolution.selection.SelectHOFPoolSelectionStrategy
- All Implemented Interfaces:
- Serializable, Cloneable
public class SelectHOFPoolSelectionStrategy
- extends OpponentPoolSelectionStrategy
Maintains a HOF and adds the HOF Competitors to the pool
- Author:
- leo
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectHOFPoolSelectionStrategy
public SelectHOFPoolSelectionStrategy()
SelectHOFPoolSelectionStrategy
public SelectHOFPoolSelectionStrategy(SelectHOFPoolSelectionStrategy other)
addToCompetitorPool
public void addToCompetitorPool(CoevolutionCompetitorList pool,
List<PopulationBasedAlgorithm> populations)
- Add Competitors to the CoevolutionCompetitorList pool from the sub populations
- Specified by:
addToCompetitorPool
in class OpponentPoolSelectionStrategy
- Parameters:
pool
- the pool of competitorspopulations
- the list of sub populations
getClone
public SelectHOFPoolSelectionStrategy 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
- Specified by:
getClone
in class OpponentPoolSelectionStrategy
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
setAddToHOFEpoch
public void setAddToHOFEpoch(int addToHOFEpoch)
setHOFSize
public void setHOFSize(int size)
Copyright © 2009 CIRG. All Rights Reserved.