Identify the path of optimal generalized path value from a source node to a target node.
opt_gpv(sociomatrix, source, target, p = Inf, node_costs = NULL)
a nonnegative, real valued sociomatrix.
an integer index corresponding to a node in sociomatrix
an integer index corresponding to a node in sociomatrix
a nonnegative real number that sets the 'p-norm' parameter for generalized path value calculation.
a list of costs, in order, of all nodes represented in the sociomatrix, all are assumed 0 if unspecified
gpv
to calculate the value of a user-specified path,
all_opt_gpv
to simultaneously identify the optimal paths
from any source node to any target node.