EdgeWeightedGraphQ

EdgeWeightedGraphQ[g]

yields True if the graph g is an edge-weighted graph and False otherwise.

Details

Examples

open allclose all

Basic Examples  (2)

Test whether a graph is an edge-weighted graph:

Test matrix graphs:

Scope  (7)

EdgeWeightedGraphQ works with undirected graphs:

Directed graphs:

Weighted graphs:

Multigraphs:

Mixed graphs:

EdgeWeightedGraphQ gives False for anything that is not a vertex-weighted graph:

EdgeWeightedGraphQ works with large graphs:

Properties & Relations  (2)

The edge-weighted graph is always a weighted graph:

The weighted graph is not always an edge-weighted graph:

Possible Issues  (1)

EdgeWeightedGraphQ gives False for non-explicit graphs:

Wolfram Research (2019), EdgeWeightedGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeWeightedGraphQ.html.

Text

Wolfram Research (2019), EdgeWeightedGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeWeightedGraphQ.html.

CMS

Wolfram Language. 2019. "EdgeWeightedGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EdgeWeightedGraphQ.html.

APA

Wolfram Language. (2019). EdgeWeightedGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EdgeWeightedGraphQ.html

BibTeX

@misc{reference.wolfram_2024_edgeweightedgraphq, author="Wolfram Research", title="{EdgeWeightedGraphQ}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/EdgeWeightedGraphQ.html}", note=[Accessed: 07-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_edgeweightedgraphq, organization={Wolfram Research}, title={EdgeWeightedGraphQ}, year={2019}, url={https://reference.wolfram.com/language/ref/EdgeWeightedGraphQ.html}, note=[Accessed: 07-October-2024 ]}