graph homomorphism

[[concept]]

Graph Homomorphism

Let and . A graph homomorphism from to is a map such that ie, homomorphisms are adjacency-preserving maps (of ; the adjacency of must be preserved in .)

Exercise

How is a homomorphism not the same as a graph isomorphism?

The isomorphism requires that both graphs share all edges. The homomorphism requires that the second graph, , is a subgraph of the first, .

We also define

Homomorphism Count

We denote as the total number of homomorphisms from to .

Example

There are a few homomorphisms from to :

    • And trivially, every permutation of is also a homomorphism here

There are also:

  • and for each of the above, each permutation of as well.

The homomorphism count in this case.


Review

dsg

Q: If is a (graph) isomorphism of , how is this different from a homomorphism? -?- A: The isomorphism requires that both graphs share all edges. The homomorphism requires that the second graph, , is a subgraph of the first, .

graph homomorphisms are {-adjacency-preserving maps-} (of in )

References

Mentions

TABLE
FROM [[]]
 
FLATTEN choice(contains(artist, this.file.link), 1, "") + choice(contains(author, this.file.link), 1, "") + choice(contains(director, this.file.link), 1, "") + choice(contains(source, this.file.link), 1, "") as direct_source
 
WHERE !direct_source