Solve the following exercise by means of a reduction to
SAT:
- Given a network (an undirected graph) G1 and a larger network
G2, determine if we can find an injective mapping from the nodes of G1
to the nodes of G2 such that at least k edges of G1 are aligned to
edges in G2. We say that an edge is aligned if the image of its adjacent
nodes are adjacent in G2.
The input of the exercise and the output with the solution (when the input is
solvable) are as follows: