def __call__(self, parents):
        if self.eval:
            ns = {}
            for i, value in enumerate(parents):
                ns['p%d' % i] = value
            return eval(self.expression, ns)
        else:
            return self.expression
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/TreeLeaf.__call__/original