returns the n-dimensional shuffle-exchange graph whose vertices are length n binary strings with an edge from to if: (1) differs from in its last bit; or (2) is obtained from by a cyclic shift left or a cyclic shift right.


  • To use , you first need to load the Combinatorica Package using Needs["Combinatorica`"].
  • An option VertexLabel is provided, with default setting False, which can be set to True if the user wants to associate the binary strings to the vertices as labels.
New to Mathematica? Find your learning path »
Have a question? Ask support »