KneserGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


GraphTheory[SpecialGraphs]

  

KneserGraph

  

construct Kneser graph

  

OddGraph

  

construct odd Kneser graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

KneserGraph(n,k)

OddGraph(d)

Parameters

n, k, d

-

positive integers

Description

• 

The KneserGraph(n,k) command returns the Kneser graph with parameters n, k.

• 

The OddGraph(d) command returns a Kneser graph with parameters n=2*d+1, k=d.

Examples

> 

with⁡GraphTheory:with⁡SpecialGraphs:

> 

P≔KneserGraph⁡5,2

P≔Graph 1: an undirected graph with 10 vertices and 15 edges

(1)
> 

NumberOfVertices⁡P

10

(2)
> 

NumberOfEdges⁡P

15

(3)
> 

ChromaticNumber⁡P

3

(4)
> 

DrawGraph⁡P

See Also

SpecialGraphs