JohnsonGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory[SpecialGraphs]

  

JohnsonGraph

  

construct Johnson graph

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

JohnsonGraph(n,k)

Parameters

n

-

positive integer

k

-

nonnegative integer

Description

• 

The JohnsonGraph(n, k) command constructs the (n,k) Johnson graph. This is an undirected graph in which the vertices correspond to k-element subsets of {1,…,k}, and an edge exists between two vertices when the intersection of their associated subsets has cardinality k-1.

Examples

withGraphTheory:

withSpecialGraphs:

J52JohnsonGraph5,2

J52Graph 1: an undirected graph with 10 vertices and 30 edge(s)

(1)

ChromaticNumberJ52

5

(2)

DrawGraphJ52

References

  

"Johnson graph", Wikipedia. http://en.wikipedia.org/wiki/Johnson_graph

Compatibility

• 

The GraphTheory[SpecialGraphs][JohnsonGraph] command was introduced in Maple 2019.

• 

For more information on Maple 2019 changes, see Updates in Maple 2019.

See Also

SpecialGraphs