hiperwalk.graph.hypercube.dimension#

hiperwalk.graph.hypercube.dimension(self)[source]#

The dimension of the Hypercube.

Returns:
int

Examples

>>> n = 10
>>> g = hpw.Hypercube(10)
>>> g.dimension() == n
True