public class ConsumerAgentAttributeHelper
extends java.lang.Object
Constructor and Description |
---|
ConsumerAgentAttributeHelper() |
Modifier and Type | Method and Description |
---|---|
static double |
loadSubjectiveNorm(ConsumerAgent consumerAgent)
Method to load the subjective norm of an agent from its attributes
|
public static double loadSubjectiveNorm(ConsumerAgent consumerAgent) throws java.lang.IllegalArgumentException
consumerAgent
- The agent whose subjective norm is requestedjava.lang.IllegalArgumentException
- Will be thrown when the agent doesn't dispose of an agent attribute for the subjective norm