(self, x, y, value)
Set the specified gene of List

        Example:
           >>> genome.setItem(3, 1, 0)

        :param x: the x index, the column
        :param y: the y index, the row
        :param value: the value (integers 0 or 1)
Set the specified gene of List
Set the specified gene of List
def setItem(self, x, y, value):
        """ Set the specified gene of List

        Example:
           >>> genome.setItem(3, 1, 0)

        :param x: the x index, the column
        :param y: the y index, the row
        :param value: the value (integers 0 or 1)

        """
        if value not in [0, 1]:
            Util.raiseException("The item value must be 0 or 1 in the G2DBinaryString chromosome", ValueError)
        self.genomeString[x][y] = value
def setItem ( self , x , y , value ) : if value not in [ 0 , 1 ] : Util . raiseException ( "The item value must be 0 or 1 in the G2DBinaryString chromosome" , ValueError ) self . genomeString [ x ] [ y ] = value