Skip to content

dg::Map needs removeNode and removeEdge function for consistency of lookup tables. #45

Description

@sunglok

Node and edge retrieval in dg::Map relies on lookup tables (built by std::map). If an user remove any node and edge directly from dg::Map::nodes and dg::Map::edges, it will cause inconsistency of data and their lookup tables. It is potentially dangerous.

Therefore, dg::Map needs removeNode and removeEdge which consider the lookup tables.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions