Class AxelrodModel
java.lang.Object
org.episteme.social.sociology.AxelrodModel
Implementation of Axelrod's Model of Cultural Dissemination.
Agents interact based on similarity and adopt traits from each other,
leading to the emergence of cultural regions or total homogenization.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionAxelrodModel(Graph<Person> network, int numFeatures, int numTraits) Creates a new Axelrod model simulation. -
Method Summary
Modifier and TypeMethodDescriptionint[]getCulture(Person p) voidstep()Performs one simulation step.
-
Constructor Details
-
AxelrodModel
-
-
Method Details
-
step
public void step()Performs one simulation step. A random agent is picked, one of its neighbors is picked, and they interact with probability equal to their cultural similarity. -
getCulture
-