Trinomial Heap Test Data - Computer Science and Software Engineering - University of Canterbury - New Zealand

Trinomial Heap Test Data

Results for the number of key comparisons, and also CPU time are available.  The test data is from using the trinomial heap for the frontier set in Dijkstra's algorithm, then timing runs of Dijkstra's algorithm on random graphs.  Data was generated for varying graph sizes and edge densities.  The edge density of graphs can be varied in two different ways.  The first way is to vary the probability of edge existence, so the number of edges is proportional to n^2, were n is the number of vertices in the graph.  The second way is to vary the average OUT set size (call this the edge factor) for vertices in the graph, so that the number of edges is proportional to n.

Simple Trinomial Heap

Key comparison data for varying edge factor, f:

Extended Trinomial Heap

(This has O(1) worst case time for decrease_key)
Key comparison data for varying edge factor, f:

  • Phone: +64 3 369 2777
    Fax: +64 3 364 2569
    CSSEadministration@canterbury.ac.nz
  • Computer Science and Software Engineering
    University of Canterbury
    Private Bag 4800, Christchurch
    New Zealand
  • Follow us
    FacebookYoutubetwitterLinked In