Jump to content

Term graph

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Eptified (talk | contribs) at 16:41, 1 June 2013 (See also). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A term graph is a representation of an expression in a formal language as a generalized graph whose vertices are terms. Term graphs are a more powerful form of representation than expression trees because they can represent common subexpressions (i.e. they can take the structure of a directed acyclic graph) as well as cyclic/recursive subexpressions (cyclic digraphs).

The phrase "term graph" is often used when discussing graph rewriting methods for transforming expressions in formal languages.

See also