グラフユーティリティパッケージ >

MaximalIndependentVertexSet

MaximalIndependentVertexSet[g]
無向グラフ g の最大独立頂点集合を与える.
MaximalIndependentVertexSet[g, w]
頂点に w の重みが付いた,g の最大独立頂点集合を与える.
  • MaximalIndependentVertexSetは,1本の辺に2つの頂点がないような,ほぼ最大の頂点集合を与える.これは入力を無向グラフとして扱う.
  • ベクトル w の長さは,g の頂点の数と同じでなければならない.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team