def ieplc(mapping):
    """
    Returns the statistics for the number of inter-process logical communications (IePLC).
    :param mapping: process-to-node mapping
    :return: IePLC statistics
    """
    weights = [d['weight'] for u, v, d in mapping.process_graph.edges(data=True)]
    return sum(weights), sum(weights)//len(weights) + 1, min(weights), max(weights)