HypercubeGraph
The -dimensional hypercube graph — vertices (bit strings), edges between strings differing in one bit.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
HypercubeGraph✓HypercubeGraph(n)vertex (1-based) labels the bit pattern ; edges join patterns at Hamming distance 1.SageMath
enumeratio_graph(graphs.CubeGraph(n))Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer) -> value | combinatorics | always |
Examples
Applications #
About
| Examples | 6 |
|---|---|
| Checked against | Wolfram Language 6 agreeSageMath 2 agree2 differ |
| Crosswalk | Wolfram LanguageSageMath |
Implementation
mapped
sagepackages/oracle/src/mappings.ts See also: GridGraph, CompleteGraph