KnightKing icon indicating copy to clipboard operation
KnightKing copied to clipboard

Edge weights versus transition probabilities

Open akalino opened this issue 4 years ago • 1 comments

I have a question when doing biased truncated random walks: if I have an edge file that has probabilities rather than edge weights (floats over integers), does this change how the biased_walk example works? I am specifying that my walk lengths should be ~100, yet the output file contains many shorter walks.

akalino avatar Jan 29 '21 23:01 akalino

The default type of edge weight is float. So this should not be the problem. Could it be that some of the vertices in your graph don't have any outgoing edges? When a walker walks into such vertices, it'll stop walk as it has nowhere to go.

ykwd avatar Feb 01 '21 02:02 ykwd