Random

Following

Gathering

Children

Agent has an equal chance of staying in place or moving to an adjacent node.

Agent chooses another agent at random and minimizes their distance to that agent.

When given the instruction agent will minimize distance to the relevant teacher. They continue in this pattern until dismissed.

Teachers

Agent may move up to two nodes in any direction. This only occurs if the agent is in a room with no students.

Agent chooses a child at random and minimizes their distance to that child.

Agent selects three children at random and instructs them to gather.