Package org.moeaframework.algorithm
Class PESA2.RegionBasedSelection
java.lang.Object
org.moeaframework.algorithm.PESA2.RegionBasedSelection
- All Implemented Interfaces:
Selection
- Enclosing class:
- PESA2
Region-based selection. Instead of selecting individual solutions, PESA2 first selects hyperboxes using binary
tournament selection to favor hyperboxes with lower density. Then, one solution from the selected hyperbox is
returned.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondraw()
Draws a random entry from the map.protected Solution
select()
Selects one solution using PESA2's region-based selection scheme.Solution[]
select
(int arity, Population population) Returns an array of lengtharity
of solutions selected from the specified population.
-
Constructor Details
-
RegionBasedSelection
public RegionBasedSelection()Constructs a new region-based selection instance.
-
-
Method Details
-
select
Description copied from interface:Selection
Returns an array of lengtharity
of solutions selected from the specified population. -
draw
Draws a random entry from the map.- Returns:
- the randomly selected map entry
-
select
Selects one solution using PESA2's region-based selection scheme.- Returns:
- the selected solution
-