def _init_capacities(self):
        self.capacities = np.random.randint(1, 11, len(self.edges))
Add the appropriate methods to *element_cls*.
dataset/ETHPy150Open dnlcrl/PyGraphArt/src/graph.py/Graph._init_capacities--crossover with--dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/xmlchemy.py/ZeroOrMore.populate_class_members