graph_from_atlas()
从 Roland C. Read 和 Robin J. Wilson 的著作“图谱”中创建图表。该图谱包含所有具有最多七个顶点的无向图,编号从 0 到 1252。图表按以下顺序排列
节点数量递增;
对于固定数量的节点,边的数量递增;
对于固定数量的节点和边,度序列递增,例如 111223 < 112222;
对于固定度序列,自同构的数量递增。
参见
其他确定性构造函数:graph_from_edgelist()
, graph_from_literal()
, make_()
, make_chordal_ring()
, make_empty_graph()
, make_full_citation_graph()
, make_full_graph()
, make_graph()
, make_lattice()
, make_ring()
, make_star()
, make_tree()
示例
## Some randomly picked graphs from the atlas
graph_from_atlas(sample(0:1252, 1))
#> IGRAPH 177a9ef U--- 7 6 -- Graph from the Atlas #282
#> + attr: name (g/c), n (g/n)
#> + edges from 177a9ef:
#> [1] 1--5 1--4 2--3 3--6 6--7 3--7
graph_from_atlas(sample(0:1252, 1))
#> IGRAPH 116180d U--- 7 13 -- Graph from the Atlas #1073
#> + attr: name (g/c), n (g/n)
#> + edges from 116180d:
#> [1] 1--2 1--7 2--5 2--6 3--4 3--5 3--6 3--7 4--5 4--6 4--7 5--7 6--7