Solution for intersection penalties

I have intersections on a point graph that I want to add penalties to, based on direction. I have a GraphUpdateScene component on the intersection node but it applies the penalty to every direction since it’s node based.

What I propose is adding a Penalty Delta on the Link component. Just like the GraphUpdateScene penalty, it’s a flat cost that’s added when that link is traversed.

This seems to be a simple way to add some intelligence to directionality without changing the underlying logic or structure.

penalties

*My particular usage: I would use Cost as a speed and Penalty Delta as a flat delay.
e.g., turning left is faster but has a high entrance cost. Turning right is slower but has a low entrance cost.