|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.tostring0.AToString
com.rubecula.darwin.domain.genetics.Meiosis_
com.rubecula.darwin.domain.genetics.Meiosis_Clone
public final class Meiosis_Clone
This is a null-meiosis implementation which is used for haploid genomics (where meiosis doesn't make sense) but where we still need a way of cloning genomes.
| Field Summary |
|---|
| Fields inherited from class com.rubecula.darwin.domain.genetics.Meiosis_ |
|---|
LOG |
| Fields inherited from interface net.sf.tostring0.IToString |
|---|
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
| Constructor Summary | |
|---|---|
Meiosis_Clone(org.apache.commons.math.random.RandomGenerator random)
|
|
| Method Summary | |
|---|---|
java.lang.String |
doMeiosis(Gene gene,
int index)
Choose an allele at random for the given locus. |
Genome |
doMeiosis(Genomic genomic,
Genes genes,
Chromosome chromosome)
This method essentially clones the existing set of genes. |
| Methods inherited from class com.rubecula.darwin.domain.genetics.Meiosis_ |
|---|
doMeiosisChromosome, getIdentifier, getRandom |
| Methods inherited from class net.sf.tostring0.AToString |
|---|
toString, toString, toStringBrief, toStringId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Meiosis_Clone(org.apache.commons.math.random.RandomGenerator random)
random - | Method Detail |
|---|
public java.lang.String doMeiosis(Gene gene,
int index)
Meiosis_
doMeiosis in interface MeiosisdoMeiosis in class Meiosis_gene - the gene on which we are doing the meiosis.index - if index >=0 then we use it, otherwise we generate a random
number between 0 and the gene's ploidy less one.
Meiosis_.doMeiosis(com.rubecula.darwin.domain.helper.Gene,
int)
public Genome doMeiosis(Genomic genomic,
Genes genes,
Chromosome chromosome)
genomic - genes - chromosome -
Meiosis.doMeiosis(com.rubecula.darwin.domain.helper.Genomic,
com.rubecula.darwin.domain.helper.Genes,
com.rubecula.darwin.domain.helper.Chromosome)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||