21e91a0334e0b164629a86442fc7ec7131625e22,stellargraph/data/explorer.py,BiasedRandomWalk,run,#BiasedRandomWalk#Any#Any#Any#Any#Any#Any#Any#Any#,270
Before Change
edge_weight_label=edge_weight_label,
)
if seed:
// seed a new random number generator
rs = random.Random(seed)
else:
// Restore the random state
rs = self._random_state
if weighted:
// Check that all edge weights are greater than or equal to 0.
// Also, if the given graph is a MultiGraph, then check that there are no two edges between
// the same two nodes with different weights.
After Change
self._check_common_parameters(nodes, n, length, seed)
self._check_weights(p, q, weighted, edge_weight_label)
rs = self._get_random_state(seed)
if weighted:
// Check that all edge weights are greater than or equal to 0.
// Also, if the given graph is a MultiGraph, then check that there are no two edges between
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances 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: BiasedRandomWalk
Method Name: run
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: UniformRandomWalk
Method Name: run
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: UniformRandomMetaPathWalk
Method Name: run