@staticmethod
def __convert__(potentials):
    """
        Converts potentials to a map (dict).

        :param potentials: Potentials.
        :return: Dict where keys are BBN node values and values are likelihoods.
        """
    m = dict()
    for k, v in potentials.items():
        m[k] = v.entries[0].value
    return m
