CostOfPath

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

CostOfPath[g,p]

sums up the weights of the edges in graph g defined by the path p.

Details

See Also

TravelingSalesman

Tutorials