|
|||||||||
| 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.QuadraticUtilityFunction
public class QuadraticUtilityFunction
![]() |
![]() |
| Field Summary | |
|---|---|
protected double |
alpha
|
protected double |
beta
|
| Constructor Summary | |
|---|---|
QuadraticUtilityFunction()
|
|
QuadraticUtilityFunction(double alpha,
double beta)
|
|
| Method Summary | |
|---|---|
double |
calculatePayoff(double profit)
|
double |
getAlpha()
|
double |
getBeta()
|
void |
setAlpha(double alpha)
|
void |
setBeta(double beta)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double alpha
protected double beta
| Constructor Detail |
|---|
public QuadraticUtilityFunction(double alpha,
double beta)
public QuadraticUtilityFunction()
| Method Detail |
|---|
public double calculatePayoff(double profit)
calculatePayoff in interface UtilityFunctionpublic double getAlpha()
public void setAlpha(double alpha)
public double getBeta()
public void setBeta(double beta)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||