|
SOLUTIONS
|
COMBINATORICA パッケージ シンボル
HamiltonianCycle
HamiltonianCycle[g]
グラフ
にハミルトン閉路があれば,それを見付ける.
HamiltonianCycle[g, All]
グラフ
のハミルトン閉路をすべて見付ける.
詳細詳細
を使うためには,まず Combinatorica パッケージをロードしなくてはならない.それにはNeeds["Combinatorica`"]を実行する必要がある.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
