Exemplo n.º 1
0
 def __init__(self, node, children, **prob_kwargs):
     ProbabilisticMixIn.__init__(self, **prob_kwargs)
     ImmutableTree.__init__(self, node, children)
Exemplo n.º 2
0
 def __init__(self, node, children, **prob_kwargs):
     ProbabilisticMixIn.__init__(self, **prob_kwargs)
     ImmutableTree.__init__(self, node, children)
Exemplo n.º 3
0
 def __init__(self, node, children=None, **prob_kwargs):
     Tree.__init__(self, node, children)
     ProbabilisticMixIn.__init__(self, **prob_kwargs)
Exemplo n.º 4
0
 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()))