|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jabm.agent.utility.AbstractUtilityFunction
net.sourceforge.jabm.agent.utility.ThresholdUtilityFunction
public class ThresholdUtilityFunction
![]() |
![]() |
Field Summary | |
---|---|
protected double |
threshold
|
Constructor Summary | |
---|---|
ThresholdUtilityFunction()
|
Method Summary | |
---|---|
double |
calculatePayoff(double profit)
|
double |
getThreshold()
|
void |
setThreshold(double threshold)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double threshold
Constructor Detail |
---|
public ThresholdUtilityFunction()
Method Detail |
---|
public double calculatePayoff(double profit)
calculatePayoff
in interface UtilityFunction
public double getThreshold()
public void setThreshold(double threshold)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |