Programming and Testing a Two-Tree Algorithm

Authors

  • Tzvetalin Vassilev
  • Joanna Ammerlaan

DOI:

https://doi.org/10.55630/sjc.2013.7.115-134

Keywords:

Longest Path, 2-trees, Divide-and-Conquer, Experimental Analysis

Abstract

Recently, Markov, Vassilev and Manev [2] proposed an algorithm for finding the longest path in 2-trees. In this paper, we describe an implementation of the algorithm. We briefly discuss the algorithm and present example that helps the reader grasp the main algorithmic ideas. Further, we discuss the important stages in the implementation of the algorithm and justify the decisions taken. Then, we present experimental results and discuss them in the light of the dependence on the platform and machine architecture. We present timing analysis of the implementation, as well as results on the average length of the longest path.

ACM Computing Classification System (1998): G.2.2, F.2.2.

Downloads

Published

2013-12-13

Issue

Section

Articles