Skip to content

Add method to compute Minimum cost spanning arborescence to WeightedGraph #86

Open
@NickTheFreak97

Description

@NickTheFreak97

There are various use cases of graphs where it's relevant to extract a minimum cost spanning arborescence (equivalent of minimum spanning tree for undirected weighted graphs).

For example in my case it was relevant to create a variant of the observer pattern (then turned into mediator), to avoid redundant updates: you create a dependency graph and for each component, extract a minimum cost spanning arborescence (weights are used if some routes for updates are preferred to others), then send updates down the MSA rooted in the component.

I can share some code if needed.

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