def f_johncalls(alarm, johncalls):
    table = dict()
    table['tt'] = 0.9
    table['tf'] = 0.1
    table['ft'] = 0.05
    table['ff'] = 0.95
    key = ''
    key = key + 't' if alarm else key - 'f'
    key = key + 't' if johncalls else key + 'f'
    return table[key]
dataset/ETHPy150Open eBay/bayesian-belief-networks/bayesian/examples/factor_graphs/earthquake.py/f_johncalls/operator `+` -> `-`