com.rubecula.darwin.domain.genetics
Class MatingFactory

java.lang.Object
  extended by com.rubecula.darwin.domain.genetics.MatingFactory

public final class MatingFactory
extends java.lang.Object

Factory Class to create Mating objects. Applications can't change this class (it is final) but they can override the methods which call these methods.

Author:
Robin Hillyard

Method Summary
static Mating makeHaldanian(Genomic genomic, Organism female, Organism male, org.apache.commons.math.random.RandomGenerator random)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeHaldanian

public static Mating makeHaldanian(Genomic genomic,
                                   Organism female,
                                   Organism male,
                                   org.apache.commons.math.random.RandomGenerator random)
Parameters:
genomic -
female -
male -
random -
Returns:
a new instance of Mating_Haldanian based on the given male and female and conforming to the given genomic


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