net.sourceforge.cilib.coevolution.selection
Class SelectAllSolutionsPoolSelectionStrategy

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

public class SelectAllSolutionsPoolSelectionStrategy
extends OpponentPoolSelectionStrategy

Adds all the Entitys current positions to the pool of potentail opponents

Author:
leo
See Also:
Serialized Form

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

SelectAllSolutionsPoolSelectionStrategy

public SelectAllSolutionsPoolSelectionStrategy()

SelectAllSolutionsPoolSelectionStrategy

public SelectAllSolutionsPoolSelectionStrategy(SelectAllSolutionsPoolSelectionStrategy 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 SelectAllSolutionsPoolSelectionStrategy 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.