neuralqx.graph.dodecahedral module¶
- class DodecahedralGraph(*, plot=False, non_planar=False, random_embedding=False, random_embedding_mean=0.0, random_embedding_std=5.0, random_embedding_seed=123)¶
Bases:
GraphDodecahedral graph.
This is the 1-skeleton of the regular dodecahedron. It is a 3-regular graph with
\[|V| = 20,\qquad |E| = 30.\]The graph is constructed from
networkx.generators.dodecahedral_graph(), then relabelled to consecutive integer vertex labels before being passed toGraph. Ifnon_planar=True, vertices are relabelled to fixed-length 3-tuples and may be given a random spatial embedding.- Parameters:
plot (
bool) – If True, produce a visualisation via the base graph machinery.non_planar (
bool) – If True, relabel vertices to 3-tuples to trigger the non-planar pipeline.random_embedding (
bool) – If True, assign a random 3D embedding to vertices (non-planar only).random_embedding_mean (
float) – Mean of the Gaussian used for the random embedding.random_embedding_std (
float) – Standard deviation of the Gaussian used for the random embedding.random_embedding_seed (
int) – Seed controlling the random embedding.