net.sourceforge.jabm.agent.utility
Class RiskNeutralUtilityFunction

java.lang.Object
  extended by net.sourceforge.jabm.agent.utility.AbstractUtilityFunction
      extended by net.sourceforge.jabm.agent.utility.RiskNeutralUtilityFunction
All Implemented Interfaces:
java.io.Serializable, UtilityFunction

public class RiskNeutralUtilityFunction
extends AbstractUtilityFunction
implements java.io.Serializable, UtilityFunction

See Also:
Serialized Form
 

Field Summary
protected  double coefficient
           
 
Constructor Summary
RiskNeutralUtilityFunction()
           
 
Method Summary
 double calculatePayoff(double profit)
           
 double getCoefficient()
           
 void setCoefficient(double coefficient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coefficient

protected double coefficient
Constructor Detail

RiskNeutralUtilityFunction

public RiskNeutralUtilityFunction()
Method Detail

calculatePayoff

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

getCoefficient

public double getCoefficient()

setCoefficient

public void setCoefficient(double coefficient)