Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-mlc7c Total loading time: 0 Render date: 2024-11-02T20:03:03.351Z Has data issue: false hasContentIssue false

6 - Indexing, Search, and Retrieval of Graphs and Trees

Published online by Cambridge University Press:  05 July 2014

K. Selçuk Candan
Affiliation:
Arizona State University
Maria Luisa Sapino
Affiliation:
Università degli Studi di Torino, Italy
Get access

Summary

In Chapter 2, we have seen that most high-level multimedia data models (especially those that involve representation of spatiotemporal information, object hierarchies – such as X3D – or links – such as the Web) require tree or graph-based modeling. Therefore, similarity-based retrieval and classification commonly involve matching trees and graphs.

In this chapter, we discuss tree and graph matching. We see that, unlike the case with sequences, computing edit distance for finding matches may be extremely complex (NP-hard) when dealing with graphs and trees. Therefore, filtering techniques that can help prune the set of candidates are especially important when dealing with tree and graph data.

GRAPH MATCHING

Although, as we discussed in Section 3.3.2, graph matching through edit distance computation is an expensive task, there are various heuristics that have been developed to perform this operation efficiently. In the rest of this section, we consider three heuristics, GraphGrep, graph histograms, and graph probes, for matching graphs.

6.1.1 GraphGrep

Because the graph-matching problem is generally very expensive, there are various heuristics that have been developed for efficient matching and indexing of graphs. GraphGrep [Giugno and Shasha, 2002] is one such technique, relying on a path-based representation of graphs.

GraphGrep takes an undirected, node-labeled graph and, for each node in the graph, finds all paths that start at this node and have length up to a given, small upper bound, lp.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×