public class ThresholdUtilityFunction extends AbstractUtilityFunction implements Serializable
Modifier and Type | Field and Description |
---|---|
protected double |
threshold |
Constructor and Description |
---|
ThresholdUtilityFunction() |
Modifier and Type | Method and Description |
---|---|
double |
calculatePayoff(double profit) |
double |
getThreshold() |
void |
setThreshold(double threshold) |
public double calculatePayoff(double profit)
calculatePayoff
in interface UtilityFunction
public double getThreshold()
public void setThreshold(double threshold)
Copyright © 2014. All rights reserved.