Combinatorica`
Combinatorica`
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 and Options
- To use CostOfPath, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Wolfram Research (2012), CostOfPath, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/CostOfPath.html.
Text
Wolfram Research (2012), CostOfPath, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/CostOfPath.html.
CMS
Wolfram Language. 2012. "CostOfPath." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/CostOfPath.html.
APA
Wolfram Language. (2012). CostOfPath. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/CostOfPath.html