Identify the path of optimal generalized path value from every source
to every target in sociomatrix.
all_opt_gpv(sociomatrix, p = Inf, node_costs = NULL)a nonnegative, real valued 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
All optimal paths from source to target nodes in sociomatrix. To
minimize memory usage, paths are returned as a list of trees in Dijkstra's
format. Specific paths can be unpacked with unpack as described in the
example below.
gpv to calculate the value of a user-specified path,
opt_gpv to identify the optimal path from a single source
node to a single target node