(self, mtype)
Sets the minimize/maximize mode, use Consts.minimaxType

        :param mtype: the minimax mode, from Consts.minimaxType
Sets the minimize/maximize mode, use Consts.minimaxType
Sets the minimize / maximize mode use Consts . minimaxType
def setMinimax(self, mtype):
        """ Sets the minimize/maximize mode, use Consts.minimaxType

        :param mtype: the minimax mode, from Consts.minimaxType

        """
        if mtype not in Consts.minimaxType.values():
            Util.raiseException("Minimax must be maximize or minimize", TypeError)
        self.minimax = mtype
def setMinimax ( self , mtype ) : if mtype not in Consts . minimaxType . values ( ) : Util . raiseException ( "Minimax must be maximize or minimize" , TypeError ) self . minimax = mtype