Select to view content in your preferred language

In a WPF Runtime Routing application how can I perform routing based on distance and cost (the cost being a score that is associated with a geometry)?

3549
0
10-09-2014 09:52 AM
Labels (1)
ReneeCammarere
Deactivated User

I have an SDK for WPF Runtime application that performs routing. The network dataset that I'm using is overlaid with polygons that represent areas of various degrees of threat. The threat is quantified by a double ranging between .01 and .9. Each polygon has a threat score associate with it. 

Can I use these values as an impedance? If so, how would I do that? 

I've thought of using the polygons as barriers.  Barriers can either be restrictions (on or off - if the barrier is there, the way is blocked) or cost-based (barrier adds a cost, but doesn't necessarily block the way). The barriers I've used to date are restrictions. However, I might be able to represent the threat polygons as cost barriers - with the cost proportional to the threat score.

How would I be able to set this up in the model, or in the C# code?

0 Kudos
0 Replies