Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个 C++ 图形库,您可以在其中按属性值查询顶点?
就像蟒蛇版本一样。igraph:
seqIDs = myGraph.vs.select(attribute1, attribute2)
您已经看过 Boost Graph Library ( BGL ) 了吗?它允许对顶点进行参数化,因此您将能够使用标准算法来查看它们。