City Based Parking and Routing System API Documentation |
|
Intersection.ResolveConflict Method
Resolves the conflict between two routes when neither is preferred over the other.
protected virtual
int ResolveConflict(
int ira,
int irb);
Parameters
-
ira
- The index of the route that conflicts with irb.
-
irb
- The index of the route (in the routes table) that conflicts with ira.
Return Value
The index of the route that was found to be less than the other.
Remarks
Implementors should override this function to allow for custom conflict resolvation.
See Also
Intersection Class | CBPRS.Infrastructure Namespace