Skip to content

Identifying strong components #322

Description

@harrysroberts

dodgr_components() identifies the semi-connected components of a directed graph, i.e. the disjoint subgraphs with a path existing from i to j OR from j to i for each i-j pair.

The main purpose for this in real terms that I can see is to filter out isolated disconnected nodes and links, such that origin and destination node sets do not snap to them and become unroutable.

However, if there is only a one-way street linking an isolated section to the rest of the network, then dodgr_components() would return them as a single component despite one direction being unroutable.

Thus, it may be helpful to have a "strong" setting within dodgr_components() that finds the maximal disjoint subgraphs with a path existing from i to j AND from j to i for each i-j pair.

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