Presentation is loading. Please wait.

Presentation is loading. Please wait.

9.3: Representing Graphs and Graph Isomorphism. Graphs, Edge tables, and adjacency matrices a bababab cdcdcdc edge lists Vertex adjacency vertexinitial.

Similar presentations


Presentation on theme: "9.3: Representing Graphs and Graph Isomorphism. Graphs, Edge tables, and adjacency matrices a bababab cdcdcdc edge lists Vertex adjacency vertexinitial."— Presentation transcript:

1 9.3: Representing Graphs and Graph Isomorphism

2 Graphs, Edge tables, and adjacency matrices a bababab cdcdcdc edge lists Vertex adjacency vertexinitial vertex terminal vertex adjacency matrices

3 1-1 correspondence Def: When 2 simple graphs G1=(V1,E1) and G2=(V2,E2), there is a one-to-one correspondence (one-to-one and onto) between vertices of the two graphs that preserves the adjacency relationship. (i.e.: a and b are adjacent in G1 iff f(a) and f(b) are adjacent in G2). Examples:

4 Examples (sketch03)

5 How can you tell if 2 graphs are isomorphic, or not? It can be hard to tell, and it is impractical to check all n! possible correspondences. Two graphs are not isomorphic if they do not share an invariant property Question: Name some properties that two isomorphic graphs should share. Examples:

6 More examples B A C AC E DED # vertices# edgesDegreesCorresponding vertices Corresponding subgroups

7 More examples # vertices# edgesDegreesCorresponding vertices Corresponding subgroups

8 Define a 1-1 correspondence between vertices Example


Download ppt "9.3: Representing Graphs and Graph Isomorphism. Graphs, Edge tables, and adjacency matrices a bababab cdcdcdc edge lists Vertex adjacency vertexinitial."

Similar presentations


Ads by Google