main
Bob Mottram 2021-05-10 20:13:46 +01:00
parent a6926b8bc4
commit c990dab6c7
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ import random
import math
from random import randint
# states which the simulated city dweller can be in
PERSON_SLEEP = 0
PERSON_WORK = 1
PERSON_PLAY = 2
@ -25,7 +26,7 @@ def _getCityPulse(currTimeOfDay, decoySeed: int) -> (float, float):
Jane or Joe average lives and works in the city, commuting in
and out of the central district for work. They have a unique
life pattern, which machine learning can latch onto.
This returns a polar coordinate:
This returns a polar coordinate for the simulated city dweller:
Distance from the city centre is in the range 0.0 - 1.0
Angle is in radians
"""