def __init__(self, label, constraints=None): """ :param label: The name of the vertex :type label: str :param constraints: The constraints of the vertex :type constraints: iterable of\ :py:class:`pacman.model.constraints.abstract_constraint.AbstractConstraint` :raise pacman.exceptions.PacmanInvalidParameterException: * If one of the constraints is not valid * If the number of atoms is less than 1 """ AbstractConstrainedObject.__init__(self, label, constraints)
def __init__(self, label, constraints=None): """ :param label: The name of the vertex :type label: str :param constraints: The constraints of the vertex :type constraints: iterable of\ :py:class:`pacman.model.constraints.abstract_constraint.AbstractConstraint` :raise pacman.exceptions.PacmanInvalidParameterException: * If one of the constraints is not valid * If the number of atoms is less than 1 """ AbstractConstrainedObject.__init__(self, constraints) AbstractLabeled.__init__(self, label)
def __init__(self, label, constraints=None): AbstractConstrainedObject.__init__(self, label, constraints)
def __init__(self, label, constraints=None): AbstractConstrainedObject.__init__(self, constraints) AbstractLabeled.__init__(self, label)
def __init__(self, identifier, constraints=None, label=None): AbstractConstrainedObject.__init__(self, constraints) AbstractLabeled.__init__(self, label) self._identifier = identifier self._type = None self._edges = list()