creatur-5.3.1: Framework for artificial life experiments.

Portabilityportable
Stabilityexperimental
Maintaineramy@nualeargais.ie
Safe HaskellNone

ALife.Creatur.AgentNamer

Description

Assigns a unique ID upon request. IDs generated by an AgentNamer are guaranteed to be unique within a given universe, across all simulation runs.

Documentation

class AgentNamer n whereSource

Methods

genName :: StateT n IO AgentIdSource

Assign a unique ID using the supplied prefix.