public class NoAdoptionReplacementScheme extends AdoptionReplacementScheme
| Constructor and Description |
|---|
NoAdoptionReplacementScheme() |
| Modifier and Type | Method and Description |
|---|---|
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).
|
void |
removeProductFromAgents(SimulationContainer simulationContainer,
Product productToRemove)
Method to describe what happens when a product gets 'removed' from the agents.
|
public void readopt(ConsumerAgent consumerAgentConcerned, Product productConcerned, double simulationTime)
AdoptionReplacementSchemereadopt in class AdoptionReplacementSchemeconsumerAgentConcerned - The ConsumerAgent readoptingproductConcerned - The Product being replaced, causing the readoptionsimulationTime - The current time of the simulationpublic void removeProductFromAgents(SimulationContainer simulationContainer, Product productToRemove)
AdoptionReplacementSchemeremoveProductFromAgents in class AdoptionReplacementSchemesimulationContainer - The container the simulation runs inproductToRemove - The product that is being removed from the agent