def terminate(n,params):
    """Decide on whether to terminate current algo run or not 
        
    Parameters
    ----------
    n: number of total evaluations have been conducted in current run
    params: Params Class
            parameters for moea/d
    
    Returns
    -------
    boolean expression
    True if number of total evaluations exceed params.stop_nfeval
    """
    return n >= params.stop_nfeval