Weighted
is an option to functions in the Graph Utilities Package that specifies how to treat edges with higher weight.


Weighted
Weighted
is an option to functions in the Graph Utilities Package that specifies how to treat edges with higher weight.
Details and Options
- To use Weighted, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- For MaximalIndependentEdgeSet, Weighted specifies whether edges with higher weights are preferred during matching.
- For CommunityStructureAssignment, CommunityStructurePartition, and CommunityModularity, Weighted specifies whether vertices linked by edges with higher weights are preferably kept in the same community.
- For ShortestPath, GraphDistance, GraphDistanceMatrix, and ClosenessCentrality, Weighted specifies whether edge weight is to be used in calculating distance.
See Also
Tech Notes
Related Guides
-
▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2007), Weighted, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/Weighted.html.
CMS
Wolfram Language. 2007. "Weighted." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/Weighted.html.
APA
Wolfram Language. (2007). Weighted. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/Weighted.html
BibTeX
@misc{reference.wolfram_2025_weighted, author="Wolfram Research", title="{Weighted}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/Weighted.html}", note=[Accessed: 10-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_weighted, organization={Wolfram Research}, title={Weighted}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/Weighted.html}, note=[Accessed: 10-August-2025]}