| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* Handle weights as `distance=` in testing dispatch
* fix `test_intersection`
This change was suggested here:
https://github.com/python-graphblas/graphblas-algorithms/pull/62#issuecomment-1531810715
|
|
|
|
|
| |
* fixes for 6539
* add more tests to test_mst.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* One ambigous typo
* one more ambigous typo
* [DATALAD RUNCMD] run codespell throughout
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
For this to work -- it would require configuration files which were abandoned.
See https://github.com/networkx/networkx/pull/6662 for more discussion etc.
* Manual reversion of perform... "fix"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes-for-6607
* Update networkx/algorithms/tests/test_euler.py
Co-authored-by: Mridul Seth <mail@mriduls.com>
* Update euler test
---------
Co-authored-by: Mridul Seth <mail@mriduls.com>
Co-authored-by: Mridul Seth <git@mriduls.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove topo_order kwarg without deprecation.
* Add release note about semiconnected removing the topo_order kwarg.
* Add to doc_string the method used to find semiconnected
---------
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
| |
|
|
|
| |
Improve_test_coverage_cfc.py
|
|
|
| |
added tests for neighbor_degree.py
|
|
|
|
|
| |
* added tests to test_correlation.py
* bugfix-for-6588
|
|
|
|
|
| |
* adding is_tounament to main namespace
* bugfix for 5542
|
|
|
| |
Rm un-hittable validation lines.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Allow multiple graphs for nx._dispatch
A new `graphs` keyword is added. For the case of two graphs named
`G` and `H` as the first to arguments in `foo`, the new spelling is
@nx._dispatch(graphs="G,H")
def foo(G, H, other_arg, **kwargs):
...
* Use better default "G" for graphs kwarg
* fix
|
|
|
|
|
| |
* Fix for is_chordal for empty graphs
* Handle self loops case
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added docstrings examples for clique.py
* Update networkx/algorithms/approximation/clique.py
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Update networkx/algorithms/approximation/clique.py
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* adding corrections
* adding corrections
* adding corrections to examples
* adding corrections
---------
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
|
| |
Replace sets with dict keys to make cycle_basis deterministic with respect
to node ordering.
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
| |
|
|
|
| |
Fix links in see also section of docs
|
|
|
|
|
|
|
|
|
| |
* Add examples to bipartite centrality.py
* Import bipartite module
* Use lazy loading for bipartite
* Minor Edit
|
|
|
| |
Fix links in See Also section
|
| |
|
|
|
|
|
|
|
| |
Improperly formatted Notes/References sections was causing a sphinx
parsing error which led to a very poorly formatted html page.
Fixing the numpydoc formatting for the module docstring + minor
munging of the heading levels was sufficient to fix this.
|
|
|
|
|
|
|
| |
* doc: fix docstring heading, eliminate sphinx error.
* doc: change extension of included file to prevent duplicate labels.
* tst: add warnings filter for deprecated forest_str.
|
|
|
|
|
| |
* Fix docstr of partition_to_color
* Minor edit
|
|
|
|
|
|
|
|
|
|
|
| |
* corrections to docstring of weisfeiler_lehman_subgraph_hashes
* Update networkx/algorithms/graph_hashing.py
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
---------
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
|
|
|
|
| |
* Docstring Example for Bidirectional Shortest Path
* output correction
* graph simplified
* retrigger checks
|
|
|
| |
Fixed return type inconsistencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add tests for nx._dispatch decorator
The dispatch functionality is used to delegate graph
computations to a different backend. Because those backends
are not part of NetworkX, testing the dispatching feature
was not originally added, relying instead on the other
backends (e.g. graphblas-algorithms) to verify the dispatch
functionality is working.
This change creates a "loopback" backend where NetworkX dispatches
to itself for the sole purpose of exercising the dispatching
machinery.
In one incarnation, various tests are augmented to use the
LoopbackGraph family and force loopback dispatching to occur
as normal usage would.
A second incarnation forces *all* tests to run in dispatch mode
but use of a different _dispatch decorator. This mode is triggered
for all of pytest, so it must be tested by the CI system specifically.
* Update CI to hopefully run dispatching auto tests
* Formatting
* More formatting fixes
* Better comments explaining dispatching tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add simple cycle enumerator for undirected class
* Implemented Gupta & Suzumura and refactored Johnson in a common form
and unified their call-site. Now, users can enumerate simple cycles
of directed or undireced graphs, with bounded or unbounded length,
all from the same `simple_cycles` function. I abandoned the stretch
goal of enumerating chordless cycles, as they are not gracefully
handled by the algorithms of Johnson nor Gupta & Suzumura.
* updated tests for simple_cycles to include undirected graphs
* * fixed documentation issues, elaborated on algorithm details
* restricted to nontrivial components
* removed specialized DFS to pick edges from undirected components
lemma: if G is a biconnected graph with at least 3 nodes and
e is an edge in G, then e belongs to a cycle
* added tests for undirected and bounded cases for simple_cycles
* added handling for digons in multigraphs
* * Improved support for multigraphs
* Split chordless_cycles out from simple_cycles because the case
analysis got so tricky
* Added enhanced cycle-testing framework to tests for simple_cycles
* Added tests for multigraphs
* Needs more documentation
* * Documented simple_cycles
* Caught incorrectly-handled case of parallel self-loops
* removed chordless option from simple_cycles
* typos/raises/leftovers in docs and error/corner tests
* add a quick example to chordless_cycles
* Add chordless_cycles to docs
---------
Co-authored-by: Dan Schult <dschult@colgate.edu>
Co-authored-by: Mridul Seth <git@mriduls.com>
|
|
|
|
|
|
|
| |
(#6567)
* Deprecate single_target..._length to channge to return a dict in v3.3
* deprecate shortest_path in case of all_pairs
|
|
|
|
|
| |
* Optimize _single_shortest_path_length function
* Update unweighted.py
|
|
|
|
|
| |
* Fixed return type inconsistencies
* Fix doc error in all_pairs_shortest_path
|
|
|
| |
Test if condition in redundancy.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes for 6520
* Update networkx/algorithms/tree/tests/test_branchings.py
Co-authored-by: Dan Schult <dschult@colgate.edu>
* Update networkx/algorithms/tree/tests/test_branchings.py
Co-authored-by: Dan Schult <dschult@colgate.edu>
---------
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
|
|
|
|
| |
* Add docstring examples to boundary.py
* Change example to wheel_graph
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix negative edge cycle function raising exception for empty graph and added relevant test function
* Unresolved change
* Added example script for generating mst
* unresolved changes
* update plot_mst.py
* Fixed typo
Co-authored-by: Dan Schult <dschult@colgate.edu>
---------
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
|
|
|
|
| |
* Docstr examples for compute-v-structures
* Removed unnecessary example
|
| |
|
|
|
|
|
|
|
| |
* Fix negative edge cycle function raising exception for empty graph and added relevant test function
* Fixed k_truss doesn't raise exception for self loops
* conflicts resolved
|
|
|
|
|
|
|
| |
Modify user-facing code to use the `community` package from the top-level
namespace.
Co-authored-by: Dan Schult <dschult@colgate.edu>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
| |
* Improve test coverage for Kruskal & Prim
* Bug fix in prim_mst_edges()
|
|
|
|
|
| |
* Add tests for parse_edgelist
* Fix to ensure that right TypeError is hit
|
|
|
| |
Docstr example for dijkstra_path
|
|
|
| |
Improve test coverage for Astar
|
| |
|
|
|
|
| |
* Fix negative edge cycle function raising exception for empty graph and added relevant test function
* Comment out capacity_scaling test
|
|
|
|
|
| |
* Clean up similarity.py and use dataclasses for storing state
* use nonlocal to stop using an object to store maxcost value
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lint and fix using ruff
* add flake8-pie lints
* remove useless import alias
* bump version
* bump deps
---------
Co-authored-by: daniel.eades <daniel.eades@hotmail.com>
|
|
|
|
|
| |
* Update developer requirements
* Run linter
|