def __init__(self, size): """ :param size: The maximum number of atoms to assign to each subvertex :type size: int :raise None: does not raise any known exceptions """ AbstractPartitionerConstraint.__init__( self, "partitioner max atom per core constraint with size {}" .format(size)) self._size = size
def __init__(self, size): """ :param size: The maximum number of atoms to assign to each subvertex :type size: int :raise None: does not raise any known exceptions """ AbstractPartitionerConstraint.__init__( self, "partitioner max atom per core constraint with size {}".format( size)) self._size = size
def __init__(self, vertex): """ :param vertex: The vertex to which the constraint refers :type vertex: \ :py:class:`pacman.model.partitionable_graph.abstract_partitionable_vertex.AbstractPartitionableVertex` :raise None: does not raise any known exceptions """ AbstractPartitionerConstraint.__init__( self, "partitioner same size as other vertex constraint with" " vertex {}".format(vertex.label)) self._vertex = vertex
def __init__(self, label): AbstractPartitionerConstraint.__init__(self, label)