(self, flag=True)
Sets the random function application, in this mode, the
      function will randomly choose one slot to apply

      :param flag: True or False
Sets the random function application, in this mode, the
      function will randomly choose one slot to apply
Sets the random function application in this mode the function will randomly choose one slot to apply
def setRandomApply(self, flag=True):
      """ Sets the random function application, in this mode, the
      function will randomly choose one slot to apply

      :param flag: True or False

      """
      if type(flag) != BooleanType:
         Util.raiseException("Random option must be True or False", TypeError)

      self.rand_apply = flag
def setRandomApply ( self , flag = True ) : if type ( flag ) != BooleanType : Util . raiseException ( "Random option must be True or False" , TypeError ) self . rand_apply = flag