metawards.PersonType

class metawards.PersonType(value)[source]

The type of individual in the network.

__init__()

Methods

__eq__(other)

Return self==value.

Attributes

WORKER

A WORKER is an individual that makes fixed movements between their home and commute (work) ward

PLAYER

A PLAYER is an individual who makes random movements between their home ward and the play wards linked to their home ward

__doc__

__members__

__module__

PLAYER = 2

A PLAYER is an individual who makes random movements between their home ward and the play wards linked to their home ward

WORKER = 1

A WORKER is an individual that makes fixed movements between their home and commute (work) ward

__eq__(other)[source]

Return self==value.