Combinatorica`
Combinatorica`
TriangleInequalityQ
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
TriangleInequalityQ[g]
yields True if the weights assigned to the edges of graph satisfy the triangle inequality.
Details and Options
- To use TriangleInequalityQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Wolfram Research (2012), TriangleInequalityQ, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/TriangleInequalityQ.html.
Text
Wolfram Research (2012), TriangleInequalityQ, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/TriangleInequalityQ.html.
CMS
Wolfram Language. 2012. "TriangleInequalityQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/TriangleInequalityQ.html.
APA
Wolfram Language. (2012). TriangleInequalityQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/TriangleInequalityQ.html