Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for fiedler_vector #6155

Merged
merged 3 commits into from
Oct 31, 2022

Conversation

paulitapb
Copy link
Member

I added an example for fiedler_vector in algebraicconnectivity.py. In the example, I use the Fiedler vector to partition a connected graph.

@jarrodmillman
Copy link
Member

I would choose a different graph. Normally the idea of bipartitioning a graph is that there are two components that have more internal edges than external edges. A cycle has no natural partitioning.

@jarrodmillman
Copy link
Member

I suggested an example.

@jarrodmillman jarrodmillman changed the title Added axample for fiedler_vector Add example for fiedler_vector Oct 31, 2022
paulitapb and others added 2 commits October 31, 2022 13:30
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Copy link
Member

@MridulS MridulS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @paulitapb!

Copy link
Contributor

@rossbar rossbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @paulitapb & @jarrodmillman !

@rossbar rossbar merged commit 6096b09 into networkx:main Oct 31, 2022
@jarrodmillman jarrodmillman added this to the networkx-2.8.8 milestone Nov 1, 2022
jarrodmillman added a commit that referenced this pull request Nov 1, 2022
* Added axample for fiedler_vector

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
* Added axample for fiedler_vector

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
* Added axample for fiedler_vector

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants