com.rubecula.darwin.domain.environment
Interface ExpresserFunction


public interface ExpresserFunction

Defines the operation which takes an Allele and generates a Trait. This is useful for non-Mendelian gene expression, for example, when we are expressing a haploid gene.

Author:
Robin Hillyard

Method Summary
 java.lang.Object express(Allele allele)
          Express the given allele in a non-Mendelian manner.
 

Method Detail

express

java.lang.Object express(Allele allele)
Express the given allele in a non-Mendelian manner. The value returned might be a string representing the key to a variant, or it might be a value, for a variable trait.

Parameters:
allele -
Returns:
the result of expressing the given allele (a String or a Double).


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