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

Online Help

All Products    Maple    MapleSim


GraphTheory

  

IsPerfectGraph

  

test if graph is perfect

 

Calling Sequence

Parameters

Options

Description

Definition

Examples

Compatibility

Calling Sequence

IsPerfectGraph(G,opts)

Parameters

G

-

graph

opts

-

(optional) one or more options as specified below

Options

• 

usecached : keyword option of the form usecached=true or usecached=false.

  

Specifies whether previously stored information should be used, if available. The default is true.

Description

• 

The IsPerfectGraph(G) command returns true if G is a perfect graph and false otherwise.

Definition

• 

An undirected graph G is perfect if in every subgraph of G, the chromatic number is equal to the clique number.

• 

Split graphs are closed under graph complement.

• 

Every chordal graph is a perfect graph.

• 

Every split graph is a perfect graph.

Examples

The cycle graph on four vertices is not perfect.

(1)

(2)

The complete graph on four vertices is perfect.

(3)

(4)

The Petersen graph is not perfect.

(5)

(6)

Compatibility

• 

The GraphTheory[IsPerfectGraph] command was introduced in Maple 2022.

• 

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

See Also

ChromaticNumber

CliqueNumber

GroupTheory[IsPerfect]

MaximumMatching

 


Download Help Document