Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for avoiding edges #567
Add an optional avoid edge list to DynamicCosting. Check for user specified avoid edges within Allowed and AllowedReverse methods. Update AllowedReverse methods to use opp_edgeid since that is the actual edge being traversed.
When specifying an edge we also need to be able to find the shortcut edge that includes the edge. Added a method to GraphReader to support this. This method gets the shortcut edge that includes the specified directed edge Id. Returns an invalid GraphId if the edge is not part of a shortcut.