Controllable Graph

Author

Eric W. Weisstein
April 21, 2024

This notebook downloaded from http://mathworld.wolfram.com/notebooks/GraphTheory/ControllableGraph.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/ControllableGraph.html.

©2024 Wolfram Research, Inc. except for portions noted otherwise

Counts

<<MathWorld`Graphs`

Connected

A371897

BFileSequence[371897]

Do[Print[{n,Total[Boole[ControllableGraphQ/@ConnectedGraphs[n]]]//Timing}],{n,10}]

Do[Print[{n,Count[Det[WalkMatrix[#]]&/@ConnectedGraphs[n],Except[0]]//Timing}],{n,9}]

Simple

A356669

BFileSequence[356669]

Do[Print[{n,Total[Boole[ControllableGraphQ/@Graphs[n]]]//Timing}],{n,9}]

Simple non-identity

Do[Graphs[n],{n,10}];

Do[Print[{n,Total[Boole[ControllableGraphQ[#]&&(!IdentityGraphQ[#])&/@Graphs[n]]]//Timing}],{n,8}]

Table

Plot

controllable={1,0,0,0,0,8,92,2332,85036,5578994};
simple=Take[BFileSequence[88],{2,11}]

TextGrid[{#,#2,#3,100. #2/#3}&@@@Transpose[{Range[10],controllable,simple}],Dividers->All,Alignment->Decimal]

ListPlot[controllable/simple,PlotRange->{-.02,1.02}]

Figure

GraphicsGrid[Partition[Show[StyleGraphs@GraphData[#],PlotLabel->Style[GraphData[#,"Name"],Directive[14,Black,Italic,FontFamily->"TImes"]]]&/@RecognizeGraph/@Select[Graphs[6],ControllableGraphQ],UpTo[4]],Alignment->Top,Dividers->All,ImageSize->600]

Parametrized families

<<MathWorld`Graphs`

Alkane

seq=Table[GraphData[{"Alkane",n},"Controllable"],{n,10}]

AlternatingGroupGraph

seq=Table[GraphData[{"AlternatingGroupGraph",n},"Controllable"],{n,2,6}]

Andrasfai

seq=Table[GraphData[{"Andrasfai",n},"Controllable"],{n,20}]

Antelope n×n

seq=Table[GraphData[{"Antelope",{n,n}},"Controllable"],{n,20}]

Antiprism

Entity["Graph",{"Antiprism",n}]["Controllable"]

seq=Table[GraphData[{"Antiprism",n},"Controllable"],{n,3,25}]

Apollonian

seq=Table[GraphData[{"Apollonian",n},"Controllable"],{n,5}]

Barbell

seq=Table[GraphData[{"Barbell",n},"Controllable"],{n,3,20}]

BlackBishop n×n

seq=Table[GraphData[{"BlackBishop",{n,n}},"Controllable"],{n,20}]

Bishop n×n

seq=Table[GraphData[{"Bishop",{n,n}},"Controllable"],{n,20}]

Book

seq=Table[GraphData[{"Book",n},"Controllable"],{n,20}]

Bruhat

seq=Table[GraphData[{"Bruhat",n},"Controllable"],{n,6}]

Camel n×n

seq=Table[GraphData[{"Camel",{n,n}},"Controllable"],{n,20}]

Centipede

seq=Table[GraphData[{"Centipede",n},"Controllable"],{n,10}]

CocktailParty

seq=Table[GraphData[{"CocktailParty",n},"Controllable"],{n,20}]

Complete

Entity["Graph",{"Complete",n}]["Controllable"]

seq=Table[GraphData[{"Complete",n},"Controllable"],{n,30}]

CompleteBipartite n×n

Entity["Graph",{"CompleteBipartite",{n,n}}]["Controllable"]

seq=Table[GraphData[{"CompleteBipartite",{n,n}},"Controllable"],{n,20}]

CompleteBipartite m×n

Entity["Graph",{"CompleteBipartite",{m,n}}]["Controllable"]

DeleteCases[Flatten[Table[{
{m,n},
GraphData[{"CompleteBipartite",{m,n}},"Controllable"],
False
},{n,10},{m,n}],1],{_,x_,x_}]

CompleteTripartite n×n×n

Entity["Graph",{"CompleteTripartite",{n,n,n}}]["Controllable"]

seq=Table[GraphData[{"CompleteTripartite",{n,n,n}},"Controllable"],{n,10}]

CompleteTripartite k×m×n

Entity["Graph",{"CompleteTripartite",{k,m,n}}]["Controllable"]

DeleteCases[Flatten[Table[{
{k,m,n},
GraphData[{"CompleteTripartite",{k,m,n}},"Controllable"],
False
},{n,10},{m,n},{k,m}],2],{_,x_,x_}]

CrossedPrism

seq=Table[GraphData[{"CrossedPrism",2n},"Controllable"],{n,2,12}]

Crown

seq=Table[GraphData[{"Crown",n},"Controllable"],{n,20}]

CubeConnectedCycle

Entity["Graph",{"CubeConnectedCycle",n}]["Controllable"]

seq=Table[GraphData[{"CubeConnectedCycle",n},"Controllable"],{n,3,8}]

Cycle

Entity["Graph",{"Cycle",n}]["Controllable"]

seq=Table[GraphData[{"Cycle",n},"Controllable"],{n,3,30}]

CycleComplement

seq=Table[GraphData[{"CycleComplement",n},"Controllable"],{n,3,20}]

DiagonalIntersection

seq=Table[GraphData[{"DiagonalIntersection",n},"Controllable"],{n,3,14}]

Dipyramid

seq=Table[GraphData[{"Dipyramid",n},"Controllable"],{n,3,20}]

DorogovtsevGoltsevMendes

seq=Table[GraphData[{"DorogovtsevGoltsevMendes",n},"Controllable"],{n,0,7}]

DoubleCone

seq=Table[GraphData[{"DoubleCone",n},"Controllable"],{n,3,20}]

Empty

Entity["Graph",{"Empty",n}]["Controllable"]

seq=Table[GraphData[{"Empty",n},"Controllable"],{n,30}]

FibonacciCube

seq=Table[GraphData[{"FibonacciCube",n},"Controllable"],{n,15}]

Fiveleaper n×n

seq=Table[GraphData[{"Fiveleaper",{n,n}},"Controllable"],{n,20}]

Flower

seq=Table[GraphData[{"Flower",n},"Controllable"],{n,5,20}]

FoldedCube

seq=Table[GraphData[{"FoldedCube",n},"Controllable"],{n,2,10}]

Gear

seq=Table[GraphData[{"Gear",n},"Controllable"],{n,3,20}]

Giraffe n×n

seq=Table[GraphData[{"Giraffe",{n,n}},"Controllable"],{n,20}]

Goldberg

seq=Table[GraphData[{"Goldberg",n},"Controllable"],{n,3,20}]

Grid n×n

Entity["Graph",{"Grid",{n,n}}]["Controllable"]

seq=Table[GraphData[{"Grid",{n,n}},"Controllable"],{n,20}]

Grid m×n

Entity["Graph",{"Grid",{m,n}}]["Controllable"]

DeleteCases[Flatten[Table[{
{m,n},
GraphData[{"Grid",{m,n}},"Controllable"],
Piecewise[{{True,m==n==1}},False]
},{n,10},{m,n}],1],{_,x_,x_}]

Grid n×n×n

Entity["Graph",{"Grid",{n,n,n}}]["Controllable"]

seq=Table[GraphData[{"Grid",{n,n,n}},"Controllable"],{n,10}]

Grid k×m×n

Entity["Graph",{"Grid",{k,m,n}}]["Controllable"]

DeleteCases[Sort@Flatten[Table[{
{k,m,n},
GraphData[{"Grid",{k,m,n}},"Controllable"],
Piecewise[{{True,k==m==n==1}},False]
},{n,5},{m,n},{k,m}],2],{_,x_,x_}]

HalvedCube

seq=Table[GraphData[{"HalvedCube",n},"Controllable"],{n,10}]

Hanoi

seq=Table[GraphData[{"Hanoi",n},"Controllable"],{n,5}]

Helm

seq=Table[GraphData[{"Helm",n},"Controllable"],{n,3,20}]

Hypercube

Entity["Graph",{"Hypercube",n}]["Controllable"]

seq=Table[GraphData[{"Hypercube",n},"Controllable"],{n,0,10}]

Keller

Entity["Graph",{"Keller",n}]["Controllable"]

seq=Table[GraphData[{"Keller",n},"Controllable"],{n,5}]

King n×n

seq=Table[GraphData[{"King",{n,n}},"Controllable"],{n,20}]

King m×n

Entity["Graph",{"King",{m,n}}]["Controllable"]

DeleteCases[Flatten[Table[{
{m,n},
GraphData[{"Knight",{m,n}},"Controllable"],
Piecewise[{{True,m==n==1}},False]
},{n,10},{m,n}],1],{_,x_,x_}]

Knight n×n

Entity["Graph",{"Knight",{n,n}}]["Controllable"]

seq=Table[GraphData[{"Knight",{n,n}},"Controllable"],{n,20}]

Knight m×n

Entity["Graph",{"Knight",{m,n}}]["Controllable"]

DeleteCases[Flatten[Table[{
{m,n},
GraphData[{"Knight",{m,n}},"Controllable"],
Piecewise[{{True,m==n==1}},False]
},{n,10},{m,n}],1],{_,x_,x_}]

Ladder

Entity["Graph",{"Ladder",n}]["Controllable"]

seq=Table[GraphData[{"Ladder",n},"Controllable"],{n,20}]

LadderRung

seq=Table[GraphData[{"LadderRung",n},"Controllable"],{n,20}]

LucasCube

seq=Table[GraphData[{"LucasCube",n},"Controllable"],{n,15}]

MengerSponge

seq=Table[GraphData[{"MengerSponge",n},"Controllable"],{n,3}]

MoebiusLadder

Entity["Graph",{"MoebiusLadder",n}]["Controllable"]

seq=Table[GraphData[{"MoebiusLadder",n},"Controllable"],{n,3,25}]

Mycielski

Entity["Graph",{"Mycielski",n}]["Controllable"]

seq=Table[GraphData[{"Mycielski",n},"Controllable"],{n,11}]

Odd

Entity["Graph",{"Odd",n}]["Controllable"]

seq=Table[GraphData[{"Odd",n},"Controllable"],{n,7}]

Pan

seq=Table[GraphData[{"Pan",n},"Controllable"],{n,3,20}]

Path

Entity["Graph",{"Path",n}]["Controllable"]

seq=Table[GraphData[{"Path",n},"Controllable"],{n,20}]

PathComplement

seq=Table[GraphData[{"PathComplement",n},"Controllable"],{n,20}]

Pell

seq=Table[GraphData[{"Pell",n},"Controllable"],{n,9}]

Prism

Entity["Graph",{"Prism",n}]["Controllable"]

seq=Table[GraphData[{"Prism",n},"Controllable"],{n,3,25}]

Queen n×n

seq=Table[GraphData[{"Queen",{n,n}},"Controllable"],{n,20}]

Rook n×n

seq=Table[GraphData[{"Rook",{n,n}},"Controllable"],{n,20}]

RookComplement n×n

seq=Table[GraphData[{"RookComplement",{n,n}},"Controllable"],{n,20}]

SierpinskiCarpet

seq=Table[GraphData[{"SierpinskiCarpet",n},"Controllable"],{n,4}]

SierpinskiGasket

seq=Table[GraphData[{"SierpinskiGasket",n},"Controllable"],{n,5}]

SierpinskiTetrahedron

seq=Table[GraphData[{"SierpinskiTetrahedron",n},"Controllable"],{n,6}]

Spoke n×n

seq=Table[GraphData[{"Spoke",{n,n}},"Controllable"],{n,5}]

StackedBook

seq=Table[GraphData[{"StackedBook",{n,n}},"Controllable"],{n,10}]

StackedPrism

seq=Table[GraphData[{"StackedPrism",{n,n}},"Controllable"],{n,3,5}]

Star

Entity["Graph",{"Star",n}]["Controllable"]

seq=Table[GraphData[{"Star",n},"Controllable"],{n,25}]

Sun

seq=Table[GraphData[{"Sun",n},"Controllable"],{n,3,20}]

Sunlet

seq=Table[GraphData[{"Sunlet",n},"Controllable"],{n,3,20}]

TorusGrid n×n

seq=Table[GraphData[{"TorusGrid",{n,n}},"Controllable"],{n,3,20}]

Transposition

Entity["Graph",{"Transposition",n}]["Controllable"]

seq=Table[GraphData[{"Transposition",n},"Controllable"],{n,6}]

Trapezohedron

Entity["Graph",{"Trapezohedron",n}]["Controllable"]

seq=Table[GraphData[{"Trapezohedron",n},"Controllable"],{n,3,20}]

Triangular

seq=Table[GraphData[{"Triangular",n},"Controllable"],{n,2,20}]

TriangularGrid

seq=Table[GraphData[{"TriangularGrid",n},"Controllable"],{n,0,20}]

TriangularHoneycombAcuteKnight

seq=Table[GraphData[{"TriangularHoneycombAcuteKnight",n},"Controllable"],{n,20}]

TriangularHoneycombBishop

seq=Table[GraphData[{"TriangularHoneycombBishop",n},"Controllable"],{n,20}]

TriangularHoneycombObtuseKnight

seq=Table[GraphData[{"TriangularHoneycombObtuseKnight",n},"Controllable"],{n,20}]

TriangularHoneycombQueen

seq=Table[GraphData[{"TriangularHoneycombQueen",n},"Controllable"],{n,20}]

TriangularHoneycombRook

seq=Table[GraphData[{"TriangularHoneycombRook",n},"Controllable"],{n,20}]

TriangularSnake

seq=Table[GraphData[{"TriangularSnake",n},"Controllable"],{n,1,20,2}]

Web

seq=Table[GraphData[{"Web",n},"Controllable"],{n,3,20}]

Wheel

Entity["Graph",{"Wheel",n}]["Controllable"]

seq=Table[GraphData[{"Wheel",n},"Controllable"],{n,4,20}]

WheelComplement

seq=Table[GraphData[{"WheelComplement",n},"Controllable"],{n,4,20}]

WhiteBishop n×n

seq=Table[GraphData[{"WhiteBishop",{n,n}},"Controllable"],{n,2,20}]

Zebra n×n

seq=Table[GraphData[{"Zebra",{n,n}},"Controllable"],{n,20}]

GraphData

GraphDataClassString

GraphDataClassString["Controllable"]