forked from networkx/networkx
-
Notifications
You must be signed in to change notification settings - Fork 0
adding tree broadcast algorithm #2
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
Open
Transurgeon
wants to merge
129
commits into
main
Choose a base branch
from
adding-broadcasting
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add Kirchhoff index Add the computation of the Kirchhoff index to networkx * minor fixes * scipy not necessary * scipy not necessary * style fixes * small doc change * change digraph, add test * vectorise final computation * style fix * minor cleanup tests * Add Kirchhoff index Add the computation of the Kirchhoff index to networkx * minor fixes * scipy not necessary * scipy not necessary * style fixes * small doc change * change digraph, add test * vectorise final computation * style fix * minor cleanup tests * fix * change name * remove return var
…etworkx#6584) * Fixed return types and modified tests * Resolved check failures in centrality\reaching.py * Fixed doc_str examples * Minor edit
Co-authored-by: Mridul Seth <[email protected]> Co-authored-by: Ross Barnowski <[email protected]>
…tead) (networkx#7157) Backends should have had enough time to update by now.
* DOC: consistent spelling of neighbor and rename vars * rename more vars
* use ruff format instead of black * Rm pylint comment guards. --------- Co-authored-by: Ross Barnowski <[email protected]>
* updated See also sec of argmap class * Update decorators.py
* Modify GML test to fix invalid octal character warning. * Switch to unicode char. * Rm extra unicode string indicators.
…le to users (networkx#7161) * Update shortest_path warning. * Update single_target_shortest_path_length futurewarning. * Update warnings filters in conftest. * Update developer docs.
Improve consistency of property-checking functions (i.e. is_something) for empty graph inputs. Tend towards NetworkXPointlessConcept exceptions for consistency. Co-authored-by: Ross Barnowski <[email protected]>
… and ignored isolated nodes in `panther_similarity` (networkx#7110) * ignoring isolated nodes in panther_similarity * added NodeNotFound in simrank_similarity * added NodeNotFound in _apply_prediction * bug fix * added Raises sec to all funcs and updated error msg * added Raises sec to simrank_similarity * added tests to test_similarity.py and updated simrank_similarity docs * updated link_prediction.py * updated and added tests in test_link_prediction.py * bug : updated NodeNotFound tests of simrank_similarity * bug : updated test_simrank_target_not_found and style fixes * added NetworkXUnfeasible to panther_similarity * bug fix * added NodeNotFound for panther_similarity * style fix * list() -> set()
…ilar functions. (networkx#7171) * Fixes networkx#7147 * Word documentation change properly based on PR review Co-authored-by: Ross Barnowski <[email protected]> * Update walk_type documentation in laplacian_centrality function * Update walk_type documentation in _transition_matrix and directed_combinatorial_laplacian matrix functions --------- Co-authored-by: Ross Barnowski <[email protected]>
* DOC: Add plots to classic graph generators docs * Update conf.py * make pre-commit happy
networkx#7182) * Add tests for NotImplementedError for is_regular. * Fix NetworkXNotImplemented for is_regular and related fns. * Handle similar instances in maxcut. * Handle similar case for asyn_fluid. * Handle similar case for tree_isomorphism.
… where no d-separators exist (networkx#7019) * add check that minimal d-separating set is valid sepset * make api change note * add edge case where proposed sepset is not empty but does not separate * fix typo in test * improve efficiency of d_sep check * finish fixing failing unit tests * remove xml * use existing ancestors function * check non disjoint node sets raise error * enforce disjoint node sets for d-separation * add test for nondisjoint sets raising error * fix test errors. allow `i` and `r` to be nodes instead of sets. * add keyword-only indicators * rename u -> x and v -> y; fix docs quotations * rename i -> included and r -> restricted * docstrings * allow `included`, `restricted` to be nodes * fix raise error for nondisjoint sets * added nondisjoint test for `minimal_d_separated` * added test of `included` and `restricted` * add test of `included` and `restricted`; found bug * rebase on main * update func sigs according to dschult's suggestion * updated docs with new func sig; ref new algorithm * update `find_min...` to new alg; outline 2 helper funcs * Designate 3.2 release * implemented reachable; tests pass * typo * updated `find_minimal_d_separator` docs * finish implement new alg for `is/find_min_d_sep..` * reworking and adding to docs for d-separation * remove release note * cleanup extra files * updated input checking and doc_strings * deprecate d_separated and minimal_d_separator * change stacklevel of deprecations --------- Co-authored-by: Jaron Lee <[email protected]> Co-authored-by: Alex Markham <[email protected]> Co-authored-by: Alex Markham <[email protected]>
* Fix for complete graphs case in all_node_cuts * Check node_connectivty in complete graph * test for broken cuts. add fix --------- Co-authored-by: Dan Schult <[email protected]>
…etworkx#7198) Update structuralholes.py Fix a tiny typo in local_constraint docstring.
* Fix online docs for `_dispatch` * whatcha talkin bout mypy?
…networkx#7192) Use `"networkx.backends"` and `"networkx.backend_info"` instead. Version 3.2 supported both options. The next release can drop "plugin".
* DOC : Updated panther_similarity * style fix * removed eg * Update similarity.py
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Rm deprecated_call filter from strongly connected raises test. * Replace deprecated pytest.warns(None) with catch_warnings.
…etworkx#7204) * Un-xfail pydot tests. * Pin pydot minver to 2.0. * Rm deprecation bullet from devdocs. * Back out deprecation warnings for nx_pydot. --------- Co-authored-by: Jarrod Millman <[email protected]>
* Fix intermittent doctest failures for expanders with seeding. * Rm deprecated asftype. * Fix warnings filter for join. * Prepare for pandas copy-on-write.
…nce (networkx#7328) * Rm 3d animation from spectral clustering example. * Add xref to 3D examples to illustrate how to animate 3D viz. * Vastly improves (>100x) example runtime. * Add sphinx-gallery config to allow xrefs.
networkx#7335) fix linprog method, add new test result
b0379a2
to
3b59ba5
Compare
Co-authored-by: Dan Schult <[email protected]>
Co-authored-by: Dan Schult <[email protected]>
Co-authored-by: Dan Schult <[email protected]>
Co-authored-by: Dan Schult <[email protected]>
Co-authored-by: Dan Schult <[email protected]>
Co-authored-by: Dan Schult <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the algorithm detailed on page 3 of the paper titled: "Information Dissemination In Trees".
It also adds a test-case for the example on page 4.
The next steps would be to return the broadcast centre (perhaps as another separate API function) and also improve the unit-tests suite.