public class LinearUtilityFunction extends UtilityFunction
| Constructor and Description |
|---|
LinearUtilityFunction() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculatePartialUtility(ConsumerAgent correspondingAgent,
ProductAttribute correspondingProductAttribute,
double systemTime)
The partial utility of the respective product attribute is the perception of the product attribute by the respective agent at system time.
|
public double calculatePartialUtility(ConsumerAgent correspondingAgent, ProductAttribute correspondingProductAttribute, double systemTime)
calculatePartialUtility in class UtilityFunctioncorrespondingAgent - The agent that evaluates the respective product attributecorrespondingProductAttribute - The product attribute being evaluatedsystemTime - The time of the simulation at which the product attribute is evaluated.