DistributedEvolutionaryAlgorithmsFramework
Class Topologies.Ring_1_2

java.lang.Object
  extended by DistributedEvolutionaryAlgorithmsFramework.Topology
      extended by DistributedEvolutionaryAlgorithmsFramework.Topologies.Ring_1_2
Enclosing class:
Topologies

public static class Topologies.Ring_1_2
extends Topology


Field Summary
 
Fields inherited from class DistributedEvolutionaryAlgorithmsFramework.Topology
islandsNumber
 
Constructor Summary
Topologies.Ring_1_2(int islands)
           
 
Method Summary
 int[] get(int n)
          Get array of indexes of island for population to migrate to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Topologies.Ring_1_2

public Topologies.Ring_1_2(int islands)
Parameters:
islands -
Method Detail

get

public int[] get(int n)
Description copied from class: Topology
Get array of indexes of island for population to migrate to.

Specified by:
get in class Topology
Parameters:
n -
Returns: