com.rubecula.darwin.core
Interface Meiosis

All Known Implementing Classes:
Meiosis_Abstract, Meiosis_Default

public interface Meiosis

Defines how alleles are chosen during Meiosis.

Version:
$Revision: 1.1 $
Author:
Robin Hillyard

Method Summary
 int getIndex(int ode, int locus)
          This method determines which allele will be chosen for a particular gene locus.
 

Method Detail

getIndex

int getIndex(int ode,
             int locus)
This method determines which allele will be chosen for a particular gene locus.

Parameters:
ode - the genetic form, i.e. the number of alleles at any particular locus in an Organism's Genome.
locus - the index of the gene locus in question.
Returns:
the index (0 <=> index < ode) of the Allele to be chosen at Meiosis.