net.sourceforge.cilib.coevolution.selection
Class SelectpBestSolutionsPoolSelectionStrategy

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

public class SelectpBestSolutionsPoolSelectionStrategy
extends OpponentPoolSelectionStrategy

Add all the populations personal best vectors to the opponent pool, this can only be used on Algorithms that optimise Particles

Author:
leo
See Also:
Serialized Form

Constructor Summary
SelectpBestSolutionsPoolSelectionStrategy()
           
SelectpBestSolutionsPoolSelectionStrategy(SelectpBestSolutionsPoolSelectionStrategy other)
           
 
Method Summary
 void addToCompetitorPool(CoevolutionCompetitorList pool, List<PopulationBasedAlgorithm> populations)
          Add Competitors to the CoevolutionCompetitorList pool from the sub populations
 SelectpBestSolutionsPoolSelectionStrategy 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

SelectpBestSolutionsPoolSelectionStrategy

public SelectpBestSolutionsPoolSelectionStrategy()

SelectpBestSolutionsPoolSelectionStrategy

public SelectpBestSolutionsPoolSelectionStrategy(SelectpBestSolutionsPoolSelectionStrategy other)
Method Detail

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 competitors
populations - the list of sub populations

getClone

public SelectpBestSolutionsPoolSelectionStrategy 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()


Copyright © 2009 CIRG. All Rights Reserved.