halo.halflife.alpha
Class AlphaConstant

java.lang.Object
  extended by halo.halflife.alpha.AlphaConstant
All Implemented Interfaces:
Alpha

public class AlphaConstant
extends java.lang.Object
implements Alpha

Contains the function alpha and its default value extendable for definition of new alpha functions

Author:
Stefanie Kaufmann

Constructor Summary
AlphaConstant()
          Constructor for a regular alpha object, returning 1 always
 
Method Summary
 double alpha(double t)
          Default function for alpha
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlphaConstant

public AlphaConstant()
Constructor for a regular alpha object, returning 1 always

Method Detail

alpha

public double alpha(double t)
Default function for alpha

Specified by:
alpha in interface Alpha
Parameters:
t - Time
Returns:
Constant value 1