Closed prince4249 closed 3 years ago
You may be able to achieve this by carefully defining your graph. For example, if you do not create any edges from the Source to the C or CD points, the first point will necessarily be a D point. Similarly, do not create any edges from D points to the Sink, and no edges from D points to C points. And no edges from C to D, no edges from C to D and CD, etc ...
I have 3 types of nodes. 1) Collection point ('C)
2) Distribution point ('D) 3) Both Collection and Distribution ('CD')
In any one of the routes, I wish to first visit all 'D's location then 'CD's and at the last 'C's . Is there any way to implement this ?