public abstract class AdoptionReplacementScheme
extends java.lang.Object
Constructor and Description |
---|
AdoptionReplacementScheme() |
Modifier and Type | Method and Description |
---|---|
abstract void |
readopt(ConsumerAgent consumerAgentConcerned,
Product productConcerned,
double simulationTime)
This method describes how ConsumerAgents behave when they
readopt a product (or how they choose a similar product,
one that satisfies the needs).
|
abstract void |
removeProductFromAgents(SimulationContainer simulationContainer,
Product productToRemove)
Method to describe what happens when a product gets 'removed' from the agents.
|
public abstract void readopt(ConsumerAgent consumerAgentConcerned, Product productConcerned, double simulationTime)
consumerAgentConcerned
- The ConsumerAgent readoptingproductConcerned
- The Product being replaced, causing the readoptionsimulationTime
- The current time of the simulationpublic abstract void removeProductFromAgents(SimulationContainer simulationContainer, Product productToRemove)
simulationContainer
- The container the simulation runs inproductToRemove
- The product that is being removed from the agent