def iter_initial_relations(self, subject_graph):
vertex0 = self.start_vertex<EOL>for vertex1 in range(subject_graph.num_vertices):<EOL><INDENT>if self.compare(vertex0, vertex1, subject_graph):<EOL><INDENT>yield vertex0, vertex1<EOL><DEDENT><DEDENT>
Iterate over all valid initial relations for a match