Uses of Class
modelarium.entities.generators.AgentGenerator
Packages that use AgentGenerator
Package
Description
Provides Modelarium's primary configuration and execution API.
Provides extension points for constructing a model's agents and environment.
-
Uses of AgentGenerator in modelarium
Methods in modelarium that return AgentGeneratorModifier and TypeMethodDescriptionConfig.agentGenerator()Returns the value of theagentGeneratorrecord component.Methods in modelarium with parameters of type AgentGeneratorModifier and TypeMethodDescriptionConfig.ConfigBuilder.agentGenerator(AgentGenerator agentGenerator) Sets theAgentGeneratorinstance the model will use to generate agents.Constructors in modelarium with parameters of type AgentGeneratorModifierConstructorDescriptionConfig(int populationSize, int tickCount, int threadCount, Duration threadTimeout, boolean areThreadsSynced, AgentGenerator agentGenerator, EnvironmentGenerator environmentGenerator, Scheduler scheduler, AttributeSetLogDatabaseFactory runLogDatabaseFactory, long seed) Validates the invariants shared by direct construction andConfig.ConfigBuilderconstruction. -
Uses of AgentGenerator in modelarium.entities.generators
Subclasses of AgentGenerator in modelarium.entities.generatorsModifier and TypeClassDescriptionclassAbstract base class for generating agent populations in a simulation.classClass for generating agents by delegating creation logic to a user-defined function.classClass for generating agents (via a default generator) by delegating creation logic to a user-defined function.