net.sourceforge.jabm.agent.utility
Class LogUtilityFunction

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

public class LogUtilityFunction
extends AbstractUtilityFunction
implements java.io.Serializable

See Also:
Serialized Form
 

Field Summary
protected  double coefficient
           
 
Constructor Summary
LogUtilityFunction()
           
 
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

LogUtilityFunction

public LogUtilityFunction()
Method Detail

calculatePayoff

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

getCoefficient

public double getCoefficient()

setCoefficient

public void setCoefficient(double coefficient)