public abstract class UtilityFunction
extends java.lang.Object
Constructor and Description |
---|
UtilityFunction() |
Modifier and Type | Method and Description |
---|---|
abstract double |
calculatePartialUtility(ConsumerAgent correspondingAgent,
ProductAttribute correspondingProductAttribute,
double systemTime)
Method to calculate the partial utility of correspondingProductAttribute for correspondingAgent at systemTime
|
public abstract double calculatePartialUtility(ConsumerAgent correspondingAgent, ProductAttribute correspondingProductAttribute, double systemTime)
correspondingAgent
- The ConsumerAgent for which the utility is calculatedcorrespondingProductAttribute
- The ProductAttribute which utility is calculatedsystemTime
- The system time of the calculation of the product attribute