net.sourceforge.jabm.agent.utility
Class CaraUtilityFunction

java.lang.Object
  extended by net.sourceforge.jabm.agent.utility.CaraUtilityFunction
All Implemented Interfaces:
UtilityFunction

public class CaraUtilityFunction
extends java.lang.Object
implements UtilityFunction

 

Field Summary
protected  double alpha
           
 
Constructor Summary
CaraUtilityFunction()
           
 
Method Summary
 double calculatePayoff(double profit)
           
 double getAlpha()
           
 void setAlpha(double alpha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha

protected double alpha
Constructor Detail

CaraUtilityFunction

public CaraUtilityFunction()
Method Detail

calculatePayoff

public double calculatePayoff(double profit)
Specified by:
calculatePayoff in interface UtilityFunction

getAlpha

public double getAlpha()

setAlpha

public void setAlpha(double alpha)