Skip to content

Add connectedness calculations #2

@twohlix

Description

@twohlix

This gets more complicated with directed graphs.

connected($start, $end, $directed=TRUE) - have to find if a path exists between things, real adjacency matrix can speed this up

graphConnected($directred=TRUE) - works on the whole graph (first check minimum degree then do expensive stuff).

weaklyConnected($start, $end) - real adjacency matrix can speed this up. Slightly ambiguous, if a directed graph is connected between two points it is also weakly connected.

see http://en.wikipedia.org/wiki/Connected_graph for some more information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions