public class StochasticPerceptionInitializationScheme extends PerceptionInitializationScheme
Constructor and Description |
---|
StochasticPerceptionInitializationScheme(BoundedUnivariateDistribution initializationDistribution)
Initializes the StochasticPerceptionInitializationScheme with the distribution
that all initial values of this StochasticPerceptionInitializationScheme are derived from.
|
Modifier and Type | Method and Description |
---|---|
double |
determineInitialValue(ProductAttribute correspondingProductAttribute,
ConsumerAgentGroup associatedAgentGroup,
Configuration configuration)
The initial values are determined by drawing from the associated distribution.
|
BoundedUnivariateDistribution |
getInitializationDistribution() |
public StochasticPerceptionInitializationScheme(BoundedUnivariateDistribution initializationDistribution)
initializationDistribution
- The BoundedUnivariateDistribution the derived values are taken frompublic BoundedUnivariateDistribution getInitializationDistribution()
public double determineInitialValue(ProductAttribute correspondingProductAttribute, ConsumerAgentGroup associatedAgentGroup, Configuration configuration)
determineInitialValue
in class PerceptionInitializationScheme
correspondingProductAttribute
- the ProductAttribute the perception relates toassociatedAgentGroup
- the ConsumerAgentGroup of the agents that perceive the productconfiguration
- the Configuration of the simulation