Class FullyConnectedTopology
java.lang.Object
org.moeaframework.parallel.island.topology.FullyConnectedTopology
- All Implemented Interfaces:
Topology
A fully-connected or "star" topology where each island is connected to every other island.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FullyConnectedTopology
public FullyConnectedTopology()Constructs a fully-connected topology instance.
-
-
Method Details
-
getNeighbors
Description copied from interface:Topology
Returns the neighboring islands for the current island.- Specified by:
getNeighbors
in interfaceTopology
- Parameters:
current
- the current islandallIslands
- the list of all islands- Returns:
- the neighboring islands
-