-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.cognitiveagents.impact.individual.Characteristic
public final class HelpAttitude implements Characteristic
The attitude of an agent towards helping another agent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHelpAttitude.Companion
-
Constructor Summary
Constructors Constructor Description HelpAttitude(Age age, Gender gender)
-
Method Summary
-
-
Method Detail
-
level
final Double level(Age toHelpAge, Gender toHelpGender, Boolean sameGroup)
The logic used to calculate the probability of helping.
- Parameters:
toHelpAge-the age of the agent who needs help.toHelpGender-the gender of the agent who needs help.sameGroup-whether or not the two agents belong to the same group.
-
-
-
-