public class PostPurchaseEvaluationEvent extends Event
associatedSimulationContainer
Constructor and Description |
---|
PostPurchaseEvaluationEvent(SimulationContainer simulationContainer,
Product productConcerned,
ConsumerAgent agentConcerned,
double scheduledForTime)
Event that represents the evaluation of a product based on its true values.
|
Modifier and Type | Method and Description |
---|---|
void |
processEvent(double systemTime)
Processing a PPE event will add the true value of each product attribute
to the perception of the agent referred to with a weight of that attributes observability.
|
compareTo, getScheduledForTime
getAssociatedSimulationContainer
public PostPurchaseEvaluationEvent(SimulationContainer simulationContainer, Product productConcerned, ConsumerAgent agentConcerned, double scheduledForTime) throws java.lang.IllegalArgumentException
simulationContainer
- The container the simulation takes place inproductConcerned
- The product whose qualities are to be evaluatedagentConcerned
- The agent evaluating the productscheduledForTime
- The time for which the evaluation is scheduledjava.lang.IllegalArgumentException
public void processEvent(double systemTime)
processEvent
in class Event
systemTime
- The current time of the system for execution