• 6.5210/18.415: Advanced Algorithms
  • PSets
  • Calendar
  • Materials
  • Information
  • Buckets and Van Emde Boas Trees

    David Karger

    Buckets

    Explot indirect addresssing in RAM model.

    review shortest path algorithm.

    In shortest paths, often have edge lengths small integers (say max \(C\)).

    Observe heap behavior:

    Idea: lots of things have same value. Keep in buckets.

    How to exploit?

    space?

    Can we improve this?

    2-level buckets.

    Tries.

    Problems: space and time

    Idea: be lazy! (Denardo and Fox 1979)

    Operations:

    VEB

    Van Emde Boas, “Design and Implementation of an efficient priority queue” Math Syst. Th. 10 (1977)

    Thorup, “On RAM priority queues” SODA 1996.

    Idea

    Algorithm.

    Problem: space