pycopancore.model_components.seven_dwarfs.implementation.individual module

Individual entity type class template.

TODO: adjust or fill in code and documentation wherever marked by “TODO:”, then remove these instructions

class Individual(*, age=0, beard_length=0, beard_growth_parameter=0.1, eating_parameter=1, **kwargs)[source]

Bases: Individual

Individual entity type mixin implementation class.

aging(unused_t)[source]

Make dwarf have birthday.

beard_growing(t)[source]

Grow beard of dwarf in explicit manner.

birthdate(t)[source]

Determine Birthday.

eating(t)[source]

Let dwarf eat from stock.

processes = [aging, eating, beard_growth]
step_timing(t)[source]

Let one year pass.