successors
后继节点
说明
示例
输入参数
输出参量
sucIDs
— 后继节点 ID
节点索引 | 节点名称
后继节点 ID,以节点索引或节点名称形式返回。
如果
nodeID
为数值节点索引,则sucIDs
包含数值节点索引。如果
nodeID
为节点名称,则sucIDs
包含节点名称。
提示
对于在同样两个节点之间具有多条边的多重图来说,
outedges
的输出可能比successors
的输出更长,因为到某些后继节点的出向边可能有多条。
扩展功能
C/C++ 代码生成
使用 MATLAB® Coder™ 生成 C 代码和 C++ 代码。
用法说明和限制:
节点标识符
nodeID
必须为输入图G
的数值节点索引。不支持节点名称。
版本历史记录
在 R2015b 中推出
另请参阅
neighbors
| predecessors
| digraph
| outdegree
| outedges
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)