Uses of Class
modelarium.Config.ConfigBuilder
Packages that use Config.ConfigBuilder
-
Uses of Config.ConfigBuilder in modelarium
Methods in modelarium that return Config.ConfigBuilderModifier and TypeMethodDescriptionConfig.ConfigBuilder.agentGenerator(AgentGenerator agentGenerator) Sets theAgentGeneratorinstance the model will use to generate agents.Config.ConfigBuilder.areThreadsSynced(boolean areThreadsSynced) Sets whether the model's threads are synchronised or not.static Config.ConfigBuilderConfig.builder()Creates a new instance ofConfig.ConfigBuilderthat can assist in the construction of aConfigrecord.Config.ConfigBuilder.environmentGenerator(EnvironmentGenerator environmentGenerator) Sets theEnvironmentGeneratorinstance the model will use to generate the environment.Config.ConfigBuilder.populationSize(int populationSize) Sets the model's population size.Config.ConfigBuilder.runLogDatabaseFactory(AttributeSetLogDatabaseFactory runLogDatabaseFactory) (Optional) Sets theAttributeSetLogDatabaseFactoryinstance the model will use to generate the database for storing the attribute logs of each entity.(Optional) Sets theSchedulerinstance the model will use to sequence the running of agents at each time step.Config.ConfigBuilder.seed(long seed) (Optional) Sets the seed value the model will use to generate its core random generator which model components and entities can then use.Config.ConfigBuilder.threadCount(int threadCount) Sets the number of worker threads the model will use to run.Config.ConfigBuilder.threadTimeout(Duration threadTimeout) (Optional) Sets the duration of time needed before a thread's request to another thread times out.Config.ConfigBuilder.tickCount(int tickCount) Sets the number of ticks in the model.