statistic.function
Class SRDFunction

java.lang.Object
  |
  +--statistic.function.GenericFunction
        |
        +--statistic.function.SRDFunction

public class SRDFunction
extends GenericFunction


Constructor Summary
SRDFunction()
          Function type: f(k) = exp(-b*sqrt(k)) where b>0
SRDFunction(double b)
           
 
Method Summary
 double function(int k)
           
 java.lang.String getEquation()
           
 
Methods inherited from class statistic.function.GenericFunction
getName, getParam, setName, setParam, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SRDFunction

public SRDFunction()
Function type: f(k) = exp(-b*sqrt(k)) where b>0


SRDFunction

public SRDFunction(double b)
Method Detail

function

public double function(int k)
                throws java.lang.IllegalArgumentException
Specified by:
function in class GenericFunction
java.lang.IllegalArgumentException

getEquation

public java.lang.String getEquation()
Specified by:
getEquation in class GenericFunction