MOEA Framework 2.12
API Specification

org.moeaframework.core.operator
Class UniformSelection

java.lang.Object
  extended by org.moeaframework.core.operator.UniformSelection
All Implemented Interfaces:
Selection

public class UniformSelection
extends Object
implements Selection

Uniform selection operator. Solutions are selected from the population with equal probability.


Constructor Summary
UniformSelection()
          Constructs a uniform selection operator.
 
Method Summary
 Solution[] select(int arity, Population population)
          Returns an array of length arity of solutions selected from the specified population.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformSelection

public UniformSelection()
Constructs a uniform selection operator.

Method Detail

select

public Solution[] select(int arity,
                         Population population)
Description copied from interface: Selection
Returns an array of length arity of solutions selected from the specified population.

Specified by:
select in interface Selection
Parameters:
arity - the number of solutions selected from the specified population
population - the population from which solutions are selected
Returns:
an array of length arity of solutions selected from the specified population

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!