Combinatorica`
Combinatorica`

SetVertexWeights

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

SetVertexWeights[g]

assigns random real weights in the range to vertices in g.

SetVertexWeights[g,w]

assigns the weights in the weight list w to the vertices of g.

SetVertexWeights[g,vs,w]

assigns the weights in the weight list w to the vertices in the vertex list vs.

Details

See Also

VertexWeight  GraphOptions  SetGraphOptions

Tutorials