mjcortejo / csc931m-complex-systems

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

Reimplement Edge Management #15

Closed mjcortejo closed 1 year ago

mjcortejo commented 1 year ago

The issue is the re-orientation function where if a car enters an edge, it re-orients its origin,destination tuple in compliance of the position of the edges from the self.edges list. Realized this was wrong, since there is a separate management if the origin and destination were to be switched.

mjcortejo commented 1 year ago

Ok I think it somehow works.

Best to test on intersection generation module set to 2 (previously 3)

mjcortejo commented 1 year ago

Can close now, applied fix for get_cars_in_edge and manage_car_from_edge functions