net.sourceforge.cilib.util.selection.recipes
Class RingBasedPopulationSelection

java.lang.Object
  extended by net.sourceforge.cilib.util.selection.recipes.RingBasedPopulationSelection
All Implemented Interfaces:
Serializable, Cloneable, SelectionRecipe<PopulationBasedAlgorithm>

public class RingBasedPopulationSelection
extends Object
implements SelectionRecipe<PopulationBasedAlgorithm>

Author:
Wiehann Matthysen
See Also:
Serialized Form

Constructor Summary
RingBasedPopulationSelection()
           
 
Method Summary
 RingBasedPopulationSelection getClone()
          Create a cloned copy of the current object and return it.
 PopulationBasedAlgorithm select(List<? extends PopulationBasedAlgorithm> elements)
          Perform the selection process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RingBasedPopulationSelection

public RingBasedPopulationSelection()
Method Detail

getClone

public RingBasedPopulationSelection 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 interface SelectionRecipe<PopulationBasedAlgorithm>
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

select

public PopulationBasedAlgorithm select(List<? extends PopulationBasedAlgorithm> elements)
Perform the selection process.

Specified by:
select in interface SelectionRecipe<PopulationBasedAlgorithm>
Parameters:
elements - The elements to perfrom the selection on.
Returns:
The selected element.


Copyright © 2009 CIRG. All Rights Reserved.