Interface Topology

All Known Implementing Classes:
FullyConnectedTopology, RingTopology

public interface Topology
Defines the topology for an island model.
  • Method Summary

    Modifier and Type
    Method
    Description
    getNeighbors(Island current, List<Island> allIslands)
    Returns the neighboring islands for the current island.
  • Method Details

    • getNeighbors

      List<Island> getNeighbors(Island current, List<Island> allIslands)
      Returns the neighboring islands for the current island.
      Parameters:
      current - the current island
      allIslands - the list of all islands
      Returns:
      the neighboring islands