com.rubecula.darwin.domain.environment
Interface NumericalTrait

All Known Implementing Classes:
Phenome_Numerical

public interface NumericalTrait

Defines how to get a numerical value for a trait. This interface is implemented by instances of Trait_.

Version:
$Revision: 1.1 $ TODO this interface seems wrong. Consider refactoring it or preferably remove it or merging it with Variant.
Author:
Robin Hillyard

Method Summary
 double getTraitValue(java.lang.String trait)
          Method to yield a numerical value for a trait identified by a string.
 

Method Detail

getTraitValue

double getTraitValue(java.lang.String trait)
Method to yield a numerical value for a trait identified by a string.

Parameters:
trait - the identifier for the trait.
Returns:
a numerical value for the given trait.


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