(self, dbadapter=None)
Sets the DB Adapter of the GA Engine

        :param dbadapter: one of the :mod:`DBAdapters` classes instance

        .. warning:: the use the of a DB Adapter can reduce the speed performance of the
                     Genetic Algorithm.
Sets the DB Adapter of the GA Engine
Sets the DB Adapter of the GA Engine
def setDBAdapter(self, dbadapter=None):
        """ Sets the DB Adapter of the GA Engine

        :param dbadapter: one of the :mod:`DBAdapters` classes instance

        .. warning:: the use the of a DB Adapter can reduce the speed performance of the
                     Genetic Algorithm.
        """
        if (dbadapter is not None) and (not isinstance(dbadapter, DBBaseAdapter)):
            Util.raiseException("The DB Adapter must be a DBBaseAdapter subclass", TypeError)
        self.dbAdapter = dbadapter
def setDBAdapter ( self , dbadapter = None ) : if ( dbadapter is not None ) and ( not isinstance ( dbadapter , DBBaseAdapter ) ) : Util . raiseException ( "The DB Adapter must be a DBBaseAdapter subclass" , TypeError ) self . dbAdapter = dbadapter