GraphTheory[SpecialGraphs]
ThetaGraph
construct theta graph
Calling Sequence
Parameters
Description
Examples
ThetaGraph(r1, r2, ...)
r1, r2, ...
-
positive integers
ThetaGraph(r1,r2,...) returns the theta graph with the given parameters. Namely it returns a graph consisting of internally disjoint paths of lengths r1, r2, ... between two specified vertices.
with⁡GraphTheory:
with⁡SpecialGraphs:
G≔ThetaGraph⁡3,4,3
G≔Graph 1: an undirected graph with 9 vertices and 10 edge(s)
DegreeSequence⁡G
3,3,2,2,2,2,2,2,2
DrawGraph⁡G
CircularChromaticNumber⁡G
73
See Also
SpecialGraphs
Download Help Document