Skip to content

Too many weights were maxed out. Use a bigger factor #960

Closed

Description

@boldtrn

I was just playing around with the new landmark algorithm. While doing so, I received an interesting log:

landmark 0 -> too many weights were maxed out (1065332/1065333). Use a bigger factor 1.8212685272742498E-4

This log was shown twice for all 16 landmarks. The distance heuristic of this weighting is not very good, so my minWeight is rather small. I don't want to change the minWeight, as this might break the a_star. AFAIK this is the only way to change the factor?

The routing for this particular weighting is not faster with landmarks, where it is a lot faster for other weightings I tested.

Is there a way to fix this?

Activity

  1. karussell commented on Feb 23, 2017

    @karussell
    Member

    Yes, this factor is rather bad in your case.

    The routing for this particular weighting is not faster with landmarks, where it is a lot faster for other weightings I tested

    The factor is indeed approximated via the minWeight value. Instead we more need a maxWeight value for this factor and so I did minWeight*X which seems to fail here. Configuring the factor is currently not possible but a good idea in such cases or some new maxWeight method ...

    It seems to be the same problem as in RoutingAlgorithmWithOSMIT.testMonacoBike3D_twoSpeedsPerEdge and others

  2. added this to the 0.9 milestone on Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions