Skip to content

Limit graph search/crash when there is no connection #104

Closed

Description

@NopMap

Implement an upper bound to the weight of partial solutions examined by the search algorithms. Solutions exceeding the upper bound are not expanded but discarded. Search is thus limited to a reasonable range.

The cutoff value is the longest acceptable detour for a vehicle multiplied with the worst possible weight assigned to an edge plus some tolerance.

Activity

  1. ghost assigned on Sep 4, 2013
  2. NopMap commented on Sep 5, 2013

    @NopMap
    ContributorAuthor

    Implementation complete locally for AStar and AStarBidirection. Cutoff will have to be adjusted according to use case. In my test case it is 100 times the direct distance between the points. This is a fairly safe value but in my test case reduces the calculation time from 38s to 4s.

    I was unable to merge the EdgeExplorer changes from master to my branch, so I will make a pull request once I'm back on the master.

  3. added this to the 0.4 milestone on May 9, 2014
  4. removed this from the 0.4 milestone on Aug 18, 2014
  5. changed the title [-]Avoid full graph search/crash when there is no connection[/-] [+]Limit graph search/crash when there is no connection[/+] on Jan 8, 2015
  6. added this to the 0.4 milestone on Jan 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions