|
SOLUTIONS
|
COMBINATORICA 程序包 符号
ShuffleExchangeGraph
ShuffleExchangeGraph[n]
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.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
