|
SOLUTIONS
|
-
関数
- AdjacencyMatrix
- DirectedEdge
- DirectedGraphQ
- EdgeCapacity
- EdgeCount
- EdgeIndex
- EdgeLabels
- EdgeList
- EdgeQ
- EdgeRules
- EdgeShapeFunction
- EdgeStyle
- EdgeWeight
- Export
- Graph
- GraphHighlight
- GraphHighlightStyle
- GraphLayout
- GraphQ
- GraphStyle
- IncidenceMatrix
- KirchhoffMatrix
- Properties
- Property
- PropertyList
- PropertyValue
- RemoveProperty
- SetProperty
- UndirectedEdge
- UndirectedGraphQ
- VertexCapacity
- VertexCoordinates
- VertexCount
- VertexIndex
- VertexLabels
- VertexList
- VertexQ
- VertexShape
- VertexShapeFunction
- VertexSize
- VertexStyle
- VertexWeight
- WeightedAdjacencyMatrix
- 関連するガイド
グラフ表現と属性
グラフは Mathematica の中でも最も重要なもので,入力・出力として,またプログラム中でもドキュメント中でも使える.無向・有向グラフは一様に扱われ,頂点とエッジの多くの標準属性をサポートする.さらに,グラフはモデル化と計算の柔軟性のためのカスタム属性もサポートする.グラフは行列を含む数々の別の表現に変換することができる.また,グラフは種々のファイル形式に高度に忠実にエキスポートできる.
参照項目参照項目
Graph — 一般グラフを表す,またはそれを頂点と辺から作成する
UndirectedEdge — 無向辺(
)
DirectedEdge — 有向辺(
)
GraphQ ▪ UndirectedGraphQ ▪ DirectedGraphQ ▪ EdgeQ ▪ VertexQ
基本属性
VertexCount,EdgeCount — グラフの中の頂点と辺の数
VertexList,EdgeList — グラフの中の頂点と辺のリスト
VertexIndex,EdgeIndex — グラフ中の頂点または辺の指標
EdgeRules — 規則のリストとして表される辺のリスト
標準属性
EdgeShapeFunction,EdgeStyle,EdgeLabels — 辺を描画し,スタイルを設定し,ラベルを付ける
VertexShapeFunction,VertexStyle,VertexLabels — 頂点を描画し,スタイルを設定し,ラベルを付ける
GraphLayout,GraphStyle,GraphHighlightStyle — グラフをレイアウトし,スタイルを設定し,ハイライトする
EdgeWeight ▪ EdgeCapacity ▪ VertexShape ▪ VertexWeight ▪ VertexCapacity ▪ VertexCoordinates ▪ VertexSize ▪ GraphHighlight
カスタム属性 »
Property — 頂点と辺の属性ラッパー
PropertyValue — 頂点または辺の属性値を取得,設定する
PropertyList ▪ SetProperty ▪ RemoveProperty ▪ Properties
グラフに閉路がないかどうかを検証する »
AdjacencyMatrix — 頂点-頂点の隣接行列
IncidenceMatrix ▪ KirchhoffMatrix ▪ WeightedAdjacencyMatrix ▪ ...
グラフのエキスポート »
Export —グラフをいくつかのグラフ形式にエキスポートする
"GraphML" ▪ "GXL" ▪ "Graphlet" ▪ "Pajek" ▪ "TGF" ▪ "DOT" ▪ "DIMACS" ▪ "Graph6" ▪ "Sparse6" ▪ "LEDA"






