com.rubecula.darwin.core
Interface Mating

All Known Implementing Classes:
Mating_Abstract, Mating_Default

public interface Mating

Defines the mating of a pair of organisms, one male, one female.

Version:
$Revision: 1.1 $
Author:
Robin Hillyard

Method Summary
 Organism progeny(String identifier)
          Method to create progeny for this mating.
 

Method Detail

progeny

Organism progeny(String identifier)
Method to create progeny for this mating. This method may be called any number of times and the progeny should be different each time.

Parameters:
identifier - the string by which to identify the resulting organism (may be null).
Returns:
a new organism, formed by combining the genotypes of the gametes spawned from the male and the female.