函数图是一个 有向图,其中每个顶点都有出度 1,因此可以通过一个将 映射到自身的函数来指定。函数应用于顶点列表
的函数图在 Wolfram 语言 中实现为Graph[(# <-> f[#]) & /@ v].
函数图
使用 探索
参考文献
Skiena, S. “函数图。” 《Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica.》第 4.5.2 节。Reading, MA: Addison-Wesley,第 164-165 页,1990 年。在 中被引用
函数图请引用为
Weisstein, Eric W. “函数图。” 来自 --一个 资源。 https://mathworld.net.cn/FunctionalGraph.html