AnsweredAssumed Answered

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)?

Question asked by reneecammarere on Oct 9, 2014

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?

 

Outcomes