4f8b3e494fe143d8c55f9327928458fb4a7171a1,pixyz/distributions/distributions.py,MultiplyDistribution,__repr__,#MultiplyDistribution#,992

Before Change


                                                                          self._child.prob_text))

    def __repr__(self):
        return self._parent.__repr__() + "\n" + self._child.__repr__()


class ReplaceVarDistribution(Distribution):
    Replace names of variables in Distribution.

After Change


        super().__init__(var=[], graph=a.graph.united(b.graph))

    def __repr__(self):
        return repr(self.graph)


class ReplaceVarDistribution(Distribution):
    Replace names of variables in Distribution.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: masa-su/pixyz
Commit Name: 4f8b3e494fe143d8c55f9327928458fb4a7171a1
Time: 2020-06-23
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/distributions.py
Class Name: MultiplyDistribution
Method Name: __repr__


Project Name: vatlab/SoS
Commit Name: 7a50aa394bde60cee848fa4867c5831bb529820b
Time: 2017-01-03
Author: ben.bob@gmail.com
File Name: sos/utils.py
Class Name: frozendict
Method Name: __repr__


Project Name: vatlab/SoS
Commit Name: b64dbfb0c892546669d6dcb19d62e887acb6f14d
Time: 2017-01-03
Author: ben.bob@gmail.com
File Name: sos/utils.py
Class Name: frozendict
Method Name: __repr__