@classmethod<EOL><INDENT>def from_first_relation(cls, vertex0, vertex1):<DEDENT>
result = cls([(vertex0, vertex1)])<EOL>result.previous_ends1 = set([vertex1])<EOL>return result<EOL>
Intialize a fresh match based on the first relation