com.rubecula.darwin.domain.genetics
Interface Choosy

All Superinterfaces:
com.rubecula.jexpression.EvalExpression, com.rubecula.jexpression.EvalExpressionMutable
All Known Implementing Classes:
Function_Choosy

public interface Choosy
extends com.rubecula.jexpression.EvalExpressionMutable

This interface defines a method which defines how choosy a female is about finding a mate in the same population.

Author:
Robin Hillyard

Method Summary
 double getMinimumDesirability(double random)
          Get the choosiness of a female for finding a mate.
 
Methods inherited from interface com.rubecula.jexpression.EvalExpressionMutable
isMutable, setExpression, setExpression
 
Methods inherited from interface com.rubecula.jexpression.EvalExpression
getExpression, getExpressionTerms
 

Method Detail

getMinimumDesirability

double getMinimumDesirability(double random)
Get the choosiness of a female for finding a mate.

Parameters:
random -
Returns:
a value between 0 and infinity. The higher the value, the more choosy she is. A value of 0 means that all males are eligible and a female will never need to look outside the population for a mate.


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