alun.mcld
Class AllelesToGenotype

java.lang.Object
  extended by alun.mcld.AllelesToGenotype
All Implemented Interfaces:
Function

public class AllelesToGenotype
extends java.lang.Object
implements Function


Constructor Summary
AllelesToGenotype(Allele pat, Allele mat, Genotype gt)
           
 
Method Summary
 double getValue()
          Returns the current value of the Function.
 java.util.LinkedHashSet<Variable> getVariables()
          Returns the Set of Variables that are arguments to the function.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllelesToGenotype

public AllelesToGenotype(Allele pat,
                         Allele mat,
                         Genotype gt)
Method Detail

getVariables

public java.util.LinkedHashSet<Variable> getVariables()
Description copied from interface: Function
Returns the Set of Variables that are arguments to the function.

Specified by:
getVariables in interface Function

getValue

public double getValue()
Description copied from interface: Function
Returns the current value of the Function.

Specified by:
getValue in interface Function

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object