Directed graph implementation

前端 未结 5 2164
余生分开走
余生分开走 2020-12-28 11:56

I need to implement a digraph(Directed graph) in c++ as part of a homework and I\'m having some issues with how to represent the vertices and edges data types.
Can anybo

5条回答
  •  鱼传尺愫
    2020-12-28 12:18

    This university paper might help you.

    It's not the most complete, but it gives you an idea perhaps. I found it rather useful, it's also for a lecture so there is no risk of copying anything one shouldn't.

提交回复
热议问题