homomorphism density

[[concept]]

homomorphism density

Let and be graphs. The homomorphism density from to , denoted is given as Where is the the total number of homomorphisms from to .

We can think of this as the probability of sampling a version of from the graph .

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