Agents

class Agents(model)[source]

This class initalizes all agent classes, and is used to activate the agents each timestep.

Parameters:

model – The GEB model

initiate()[source]

Initiate all agents.

Return type:

None

restart()[source]

Restart all agents.

restore_state()[source]

Load the state of all agents.

Return type:

None

save_state()[source]

Save the state of all agents.

Return type:

None

step()[source]

This function is called every timestep and activates the agents in order of NGO, government and then farmers.

Return type:

None