com.rubecula.darwin.domain.helper
Interface Meiosis

All Superinterfaces:
net.sf.tostring0.Identifiable
All Known Implementing Classes:
Meiosis_, Meiosis_Chromosome, Meiosis_Clone, Meiosis_Locus

public interface Meiosis
extends net.sf.tostring0.Identifiable

Defines how alleles are chosen during Meiosis.

Version:
$Revision: 1.9 $
Author:
Robin Hillyard

Method Summary
 java.lang.String doMeiosis(Gene gene, int index)
          This method determines which allele will be chosen for a particular gene locus.
 Genome doMeiosis(Genomic genomic, Genes genes, Chromosome chromosome)
          This method determines which alleles will be chosen for a complete chromosome.
 
Methods inherited from interface net.sf.tostring0.Identifiable
getIdentifier
 

Method Detail

doMeiosis

java.lang.String doMeiosis(Gene gene,
                           int index)
This method determines which allele will be chosen for a particular gene locus.

Parameters:
gene - the gene from which an allele will be chosen
index - a value which will be used to determine the allele to use (except if <0 then a random number is chosen).
Returns:
the key of the allele chosen.

doMeiosis

Genome doMeiosis(Genomic genomic,
                 Genes genes,
                 Chromosome chromosome)
This method determines which alleles will be chosen for a complete chromosome.

Parameters:
genomic - the genomic
genes - the genes to peform meiosis on
chromosome - may be null, in which case any gene will qualify
Returns:
a haploid genome with loci corresponding to the chromosome (if given)


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.