pgRouting

Ticket #18 (closed feature request: fixed)

Opened 1 year ago

Last modified 8 months ago

using to_cost values in shooting* algorithm

Reported by: siarhei Assigned to: anton
Priority: major Milestone: Version 1.1
Component: Shooting* Version:
Keywords: Cc:

Description

I think that to_cost value can be spent time on passing through the edges. So as to restrictions if to_cost value is positive (as in documentation it can be traffic light ) it can take part in calculating shortest path( with to_cost values added to cost values of edges involved in restriction).

But if to_cost value is negative (-1) then restriction turn must not appear in shortest path result

Change History

07/27/07 15:21:41 changed by anton

  • owner changed from somebody to anton.
  • status changed from new to assigned.
  • version deleted.
  • milestone changed from Version 1.0 to Version 1.1.

03/27/08 11:50:52 changed by anton

  • status changed from assigned to closed.
  • resolution set to fixed.

Actualy, 'to_cost' (just like 'cost') can be anything - length, time, price etc.

And we decided that if 'to_cost' value is negative, this edge is unpassable.