|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DnaMixer
This is the interface every dna mixer has to implement, thus here are outlined all the methods common to every dna mixer implementation.
Method Summary | |
---|---|
Dna |
mix()
The mix() method is the entry point for applications willing to mix two
Dna instances leveraging on the adopted DnaMixer
implementation's logic. |
void |
setDnas(Dna dnaX,
Dna dnaY)
This method sets the two Dna instances that will be used for generating the
new one. |
Method Detail |
---|
void setDnas(Dna dnaX, Dna dnaY)
Dna
instances that will be used for generating the
new one.
dnaX
- The first Dna
instance.dnaY
- The second Dna
instanceDna mix() throws MixerException, InstantiatorException
mix()
method is the entry point for applications willing to mix two
Dna
instances leveraging on the adopted DnaMixer
implementation's logic.
MixerException
InstantiatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |