Data Structures and Algorithms with Object-Oriented Design Patterns in C#
next up previous contents index

Representing Graphs

Consider a directed graph tex2html_wrap_inline70252. Since tex2html_wrap_inline70262, graph G contains at most tex2html_wrap_inline70538 edges. There are tex2html_wrap_inline70540 possible sets of edges for a given set of vertices tex2html_wrap_inline70254. Therefore, the main concern when designing a graph representation scheme is to find a suitable way to represent the set of edges.




next up previous contents index

Bruno Copyright © 2001 by Bruno R. Preiss, P.Eng. All rights reserved.