public class ConstantPerceptionInitializationScheme extends PerceptionInitializationScheme
| Constructor and Description |
|---|
ConstantPerceptionInitializationScheme(double initializationValue) |
| Modifier and Type | Method and Description |
|---|---|
double |
determineInitialValue(ProductAttribute correspondingProductAttribute,
ConsumerAgentGroup associatedAgentGroup,
Configuration configuration)
The initial value for all perceptions based on this scheme are the ones given in the constructor.
|
public ConstantPerceptionInitializationScheme(double initializationValue)
public double determineInitialValue(ProductAttribute correspondingProductAttribute, ConsumerAgentGroup associatedAgentGroup, Configuration configuration)
determineInitialValue in class PerceptionInitializationSchemecorrespondingProductAttribute - the ProductAttribute associated with the perceptionassociatedAgentGroup - the ConsumerAgentGroup of the agents that perceive the productconfiguration - the Configuration of the simulation