Bug in Graph?

Kevin
2012-10-10
2013-05-29
  • Kevin
    Kevin
    2012-10-10

    I'm studying how the Graph class works because I'm extending it to support mixed graphs.  I see that Graph.removeNode(…) uses Graph.m_links to identify and remove incident edges.  Graph.m_links is populated by Graph.initLinkTable(), which is called by the Graph constructor.  However, Graph.m_links is not modified by Graph.addEdge(…).  Is this an oversight?