com.rubecula.darwin.core
Class Expression_Abstract
java.lang.Object
com.rubecula.darwin.core.Expression_Abstract
- All Implemented Interfaces:
- Expression
- Direct Known Subclasses:
- Expression_Default, Expression_PepperedMoth, Expression_TS
public abstract class Expression_Abstract
- extends Object
- implements Expression
Abstract class defining base implementation for Expression (of Genes).
In particular, the express(Genotype) method is implemented.
Extenders must implement the express(Gene) method.
- Version:
- $Revision: 1.3 $
- Author:
- Robin Hillyard
|
Field Summary |
protected static org.apache.commons.logging.Log |
log
The logger for this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
- The logger for this class.
Expression_Abstract
public Expression_Abstract()
express
public Phenotype express(Genotype genotype,
Factory factory)
- Apply
Genotype_Abstract.autoExpress(Expression, Factory) to the genotype provided
and return the result without further ado.
- Specified by:
express in interface Expression
- Parameters:
genotype - The genotype to be expressed.factory - the implementer of Factory.
- Returns:
- the expression of genotype as a Phenotype.
- See Also:
Expression.express(com.rubecula.darwin.core.Genotype, Factory)