Tarjan's Off-Line Least Common Ancestors Algorithm (Paperback)


High Quality Content by WIKIPEDIA articles In computer science, Tarjan's off-line least common ancestors algorithm (more precisely, least should actually be lowest) is an algorithm for computing lowest common ancestors for pairs of nodes in a tree, based on the union-find data structure. The lowest common ancestor of two nodes d and e in a rooted tree T is the node g that is an ancestor of both d and e and that has the greatest depth in T. It is named after Robert Tarjan, who discovered the technique in 1979. Tarjan's algorithm is offline; that is, unlike other lowest common ancestor algorithms, it requires that all pairs of nodes for which the lowest common ancestor is desired must be specified in advance. The simplest version of the algorithm uses the union find data structure, which unlike other lowest common ancestor data structures can take more than constant time per operation when the number of pairs of nodes is similar in magnitude to the number of nodes. A later refinement by Gabow & Tarjan (1983) speeds the algorithm up to linear time.

R861

Or split into 4x interest-free payments of 25% on orders over R50
Learn more

Discovery Miles8610
Mobicred@R81pm x 12* Mobicred Info
Free Delivery
Delivery AdviceOut of stock

Toggle WishListAdd to wish list
Review this Item

Product Description

High Quality Content by WIKIPEDIA articles In computer science, Tarjan's off-line least common ancestors algorithm (more precisely, least should actually be lowest) is an algorithm for computing lowest common ancestors for pairs of nodes in a tree, based on the union-find data structure. The lowest common ancestor of two nodes d and e in a rooted tree T is the node g that is an ancestor of both d and e and that has the greatest depth in T. It is named after Robert Tarjan, who discovered the technique in 1979. Tarjan's algorithm is offline; that is, unlike other lowest common ancestor algorithms, it requires that all pairs of nodes for which the lowest common ancestor is desired must be specified in advance. The simplest version of the algorithm uses the union find data structure, which unlike other lowest common ancestor data structures can take more than constant time per operation when the number of pairs of nodes is similar in magnitude to the number of nodes. A later refinement by Gabow & Tarjan (1983) speeds the algorithm up to linear time.

Customer Reviews

No reviews or ratings yet - be the first to create one!

Product Details

General

Imprint

Betascript Publishing

Country of origin

United States

Release date

August 2010

Availability

Supplier out of stock. If you add this item to your wish list we will let you know when it becomes available.

First published

August 2010

Editors

, ,

Dimensions

152 x 229 x 4mm (L x W x T)

Format

Paperback - Trade

Pages

68

ISBN-13

978-6131170973

Barcode

9786131170973

Categories

LSN

6131170975



Trending On Loot