mjcortejo / csc931m-complex-systems

This repository contains the projects done for the CSC931M class
0 stars 0 forks source link

Implement car waiting time as attribute #34

Closed mjcortejo closed 1 year ago

mjcortejo commented 1 year ago

Implement inside car class attribute

self.stop_time or something

mjcortejo commented 1 year ago

Also need to implement an edge's average waiting time for all cars in it.

mjcortejo commented 1 year ago

Added a self.wait_time implemented in the Car class

It increments to one if the light is red at an intersection