Population

constructor(source: () -> Iterable<A>)(source)


constructor(agentModel: AgentModel, type: Class<A>)(source)

Construct a population that always reflects the current contents of agentModel.agents, filtered to instances of A.


constructor(members: List<A>)(source)

Construct a population backed by a snapshot of members. The population view reflects later mutations to members if it is a live collection.