def __init__(self, size, criteria_sets=None, vertex_tags=None, strong=False):
if vertex_tags is None:<EOL><INDENT>vertex_tags = {}<EOL><DEDENT>self.size = size<EOL>self.strong = strong<EOL>pattern_graph = Graph([(i, (i+<NUM_LIT:1>)%size) for i in range(size)])<EOL>CustomPattern.__init__(self, pattern_graph, criteria_sets, vertex_tags)<EOL>
Argument:
 | ``size``  --  the size of the ring