def __init__(self, vertex_criteria=None, edge_criteria=None, **kwargs):
if vertex_criteria is None:<EOL><INDENT>self.vertex_criteria = {}<EOL><DEDENT>else:<EOL><INDENT>self.vertex_criteria = vertex_criteria<EOL><DEDENT>if edge_criteria is None:<EOL><INDENT>self.edge_criteria = {}<EOL><DEDENT>else:<EOL><INDENT>self.edge_criteria = edge_criteria<EOL><DEDENT>self.info = kwargs<EOL>
Arguments:
 | ``vertex_criteria``  --  a dictionary with criteria for the
                            vertices, ``key=vertex_index``,
                            ``value=criterion``
 | ``edge_criteria``  --  a dictionary with criteria for the edges
                          ``key=edge_index``, ``value=criterion``

Any other keyword argument will be assigned as attribute to matches
that fulfill the criteria of this set.