metawards.PersonType

class metawards.PersonType(value)[source]

The type of individual in the network.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Attributes

PLAYER

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

WORKER

A WORKER is an individual that makes fixed movements between their home and commute (work) 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.