FunctionalGraph
FunctionalGraph[f,v]
から
まで,集合
と関数
を取り,頂点集合
と
の各
についての辺
を持つ有向グラフを構築する.
FunctionalGraph[{f1,f2,…},v]
各 に対する頂点集合が
で辺の集合が
であるグラフを構築する.値としてDirectedとUndirectedを取る,Typeというオプションを使うことができる.Type->Directedがデフォルトであり,Type->Undirectedでは対応する根底の無向グラフが返される.
FunctionalGraph[f,n]
から自身に対して,非負の整数
と関数
を取る.頂点集合
,各頂点
に対する辺の集合
を持つ有向グラフを生成する.
詳細とオプション
- FunctionalGraphの機能はWolfram言語の組込み関数Graphで利用できるようになった.
- FunctionalGraphを使うためには,まず Combinatorica パッケージをロードしなくてはならない.それにはNeeds["Combinatorica`"]を実行する必要がある.
テキスト
Wolfram Research (2012), FunctionalGraph, Wolfram言語関数, https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html.
CMS
Wolfram Language. 2012. "FunctionalGraph." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html.
APA
Wolfram Language. (2012). FunctionalGraph. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html