de2c9b78e4f9e04ba4d311f060f31b92b1adae41,stellargraph/data/explorer.py,GraphWalk,__init__,#GraphWalk#Any#Any#Any#,45

Before Change



        // Initialize the random state
        self._check_seed(seed)
        self._random_state = random.Random(seed)

        // Initialize a numpy random state (for numpy random methods)
        self._np_random_state = np.random.RandomState(seed=seed)

After Change


        // Initialize the random state
        self._check_seed(seed)

        self._random_state, self._np_random_state = random_state(seed)

        // We require a StellarGraph for this
        if not isinstance(graph, StellarGraph):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: stellargraph/stellargraph
Commit Name: de2c9b78e4f9e04ba4d311f060f31b92b1adae41
Time: 2020-02-10
Author: 33508488+kjun9@users.noreply.github.com
File Name: stellargraph/data/explorer.py
Class Name: GraphWalk
Method Name: __init__


Project Name: stellargraph/stellargraph
Commit Name: 21e91a0334e0b164629a86442fc7ec7131625e22
Time: 2019-09-08
Author: 52440942+geoffj-d61@users.noreply.github.com
File Name: stellargraph/data/explorer.py
Class Name: SampledBreadthFirstWalk
Method Name: run


Project Name: biolab/orange3
Commit Name: 394b325f76fef9a35daacffbcaf369feb26b2273
Time: 2016-12-11
Author: me@ameo.link
File Name: Orange/widgets/data/owpreprocess.py
Class Name: _Randomize
Method Name: __call__


Project Name: ilastik/ilastik
Commit Name: 6d79a9fd36e938bbf4b08ddc977cc7bbf0cdfac1
Time: 2012-08-28
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/opColorizeLabels.py
Class Name: OpColorizeLabels
Method Name: OpColorizeLabels_1