Utility functions for assigning scores to graph elements. These include:
EdgeWeight
: interface for classes that associate numeric values
with edges
ScoringUtils
: methods for calculating transition probabilities
for random-walk-based algorithms.
UniformOut
: an edge weight function that assigns weights as uniform
transition probabilities to all outgoing edges of a vertex.
UniformIncident
: an edge weight function that assigns
weights as uniform transition probabilities to all incident edges of a
vertex (useful for undirected graphs).
VEPair
: analogous to Pair
but specifically
containing an associated vertex and edge.
VertexEdgeWeight
: a subtype of EdgeWeight
that
assigns edge weights with respect to a specified 'source' vertex.