|
SOLUTIONS
|
MATHEMATICA 内置符号
ShortestPathFunction
ShortestPathFunction[type, data]
表示一个函数,该函数给出一个图中从源顶点 s 到目标顶点 t 的最短路径.
更多信息更多信息
- ShortestPathFunction[...] 由 FindShortestPath 生成.
- ShortestPathFunction[{s, All}, ...][t] 给出从 s 到 t 的最短路径.
- ShortestPathFunction[{All, t}, ...][s] 给出从 s 到 t 的最短路径.
- ShortestPathFunction[{All, All}, ...][s, t] 给出从 s 到 t 的最短路径.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


