public class TakeTheBestHeuristicUtilitarianConsumerAgentAdoptionDecisionProcess extends UtilitarianConsumerAgentAdoptionDecisionProcess
associatedUtilityFunction| Constructor and Description |
|---|
TakeTheBestHeuristicUtilitarianConsumerAgentAdoptionDecisionProcess(UtilityFunction associatedUtilityFunction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
betterProductAvailable(SimulationContainer simulationContainer,
ConsumerAgent consumerAgent,
Product productToCompare,
java.util.Set<Product> potentialProducts,
double systemTime)
Method to compare the quality of a product against the quality of a collection of other products,
within the same evaluative scheme.
|
protected double |
calculateUtility(SimulationContainer simulationContainer,
Product product,
ConsumerAgent consumerAgent,
double systemTime) |
Product |
makeProductAdoptionDecision(SimulationContainer simulationContainer,
ConsumerAgent consumerAgent,
java.util.Set<Product> potentialProducts,
double systemTime)
Method to describe the process to chose one Product out of a range
of alternatives, based on the consumerAgents' status and 'cognitive makeup'.
|
getUtilityFunctionUsedpublic TakeTheBestHeuristicUtilitarianConsumerAgentAdoptionDecisionProcess(UtilityFunction associatedUtilityFunction)
public boolean betterProductAvailable(SimulationContainer simulationContainer, ConsumerAgent consumerAgent, Product productToCompare, java.util.Set<Product> potentialProducts, double systemTime) throws antlr.SemanticException
ConsumerAgentAdoptionDecisionProcessbetterProductAvailable in class ConsumerAgentAdoptionDecisionProcesssimulationContainer - The container the simulation takes place inconsumerAgent - The ConsumerAgent making the decisionproductToCompare - The product to compare against the other productspotentialProducts - The range of alternatives for the adoption decision to compare productToCompare tosystemTime - The time the decision is takenantlr.SemanticException - will be thrown when something occurs that violates the semantics of the processpublic Product makeProductAdoptionDecision(SimulationContainer simulationContainer, ConsumerAgent consumerAgent, java.util.Set<Product> potentialProducts, double systemTime)
ConsumerAgentAdoptionDecisionProcessmakeProductAdoptionDecision in class ConsumerAgentAdoptionDecisionProcesssimulationContainer - The container the simulation takes place inconsumerAgent - The ConsumerAgent making the decisionpotentialProducts - The range of alternatives for the adoption decisionsystemTime - The time the decision is takenprotected double calculateUtility(SimulationContainer simulationContainer, Product product, ConsumerAgent consumerAgent, double systemTime)
calculateUtility in class UtilitarianConsumerAgentAdoptionDecisionProcess