com.rubecula.darwin.core
Interface TraitValue

All Known Implementing Classes:
Phenome_Numerical

public interface TraitValue

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

Version:
$Revision: 1.1 $ TODO this interface seems wrong. Consider refactoring it.
Author:
Robin Hillyard

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

Method Detail

getTraitValue

double getTraitValue(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.