def __init__(self, node, children, **prob_kwargs): ProbabilisticMixIn.__init__(self, **prob_kwargs) ImmutableTree.__init__(self, node, children)
def __init__(self, node, children=None, **prob_kwargs): Tree.__init__(self, node, children) ProbabilisticMixIn.__init__(self, **prob_kwargs)
def __init__(self, node, children=None, **prob_kwargs): ImmutableTree.__init__(self, node, children) ProbabilisticMixIn.__init__(self, **prob_kwargs) self._hash = hash((self._label, tuple(self), self.prob()))