JuliaGraphs / JuliaGraphs/MatrixNetworks.jl

Add the reduced indices to the largest_component output

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
110
Forks
25
PR merge metrics
No merged PRs in 30d

Description

The output from largest component should also have the indices of the reduced set, and vice versa, if you call "enrich"

(e.g. find(p) gives the forward map, and we also want the reverse map) these are built as part of spectral_cut, I believe.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the largest_component and enrich entry points, then inspect how spectral_cut builds the mappings and how find(p) exposes the forward map. Confirm the expected relationship between the reduced-set indices and original indices; done means largest_component and enrich provide both forward and reverse mappings consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.