如何从C和Igraph中的两个id顶点获取边的id?

时间:2021-06-08 21:45:34

How to get the id of a specific edge with two of its vertex?

如何获取具有两个顶点的特定边的id?

Example:

egde id=4 with vertex 2 and 3, using id 2 and 3 vertex how to get the id=4 of that edge?

egde id = 4,顶点2和3,使用id 2和3顶点如何获得该边缘的id = 4?

1 个解决方案

#1


0  

igraph_get_eid is the function you are looking for.

igraph_get_eid是您正在寻找的功能。

#1


0  

igraph_get_eid is the function you are looking for.

igraph_get_eid是您正在寻找的功能。