Pywgraph

Latest version: v1.1.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.3.0

**Path finding method add!**

Now it is possible to search for the shortest path between two given nodes with the `WeightedDirectedGraph.find_path` method. You can also give a path with an get the weight of following the path with the `WeightedDirectedGraph.path_weight` method. Combining this two method also the `WeightedDirectedGraph.weight_between` gives you the weight of the shortest path between two given nodes.

What's Changed
* push changes to develop by josek98 in https://github.com/josek98/pywgraph/pull/7
* Develop by josek98 in https://github.com/josek98/pywgraph/pull/8


**Full Changelog**: https://github.com/josek98/pywgraph/compare/v0.2.0...v0.3.0

0.2.1

This minor updat just improves the README.md file

**Full Changelog**: https://github.com/josek98/pywgraph/compare/v0.2.0...v0.2.1

0.2.0

The weights have been simplify so now they only consists of a float. In future versions the aim is to be able so that the weight can be any object with a binary operation with inverse.

For the graph class, now graphs are comparable and can be instantiate with the new `from_dict` method.

What's Changed
* Develop by josek98 in https://github.com/josek98/pywgraph/pull/4
* Develop by josek98 in https://github.com/josek98/pywgraph/pull/5
* update pytest.yml by josek98 in https://github.com/josek98/pywgraph/pull/6


**Full Changelog**: https://github.com/josek98/pywgraph/compare/v0.1.0...v0.2.0

**Full Changelog**: https://github.com/josek98/pywgraph/compare/v0.2.0...v0.2.0

0.1.0

Release of the pywgraph library to manage weighted directed graphs in python. Currently still working on adding features like searching for paths in the graph.

What's Changed
* Develop by josek98 in https://github.com/josek98/pywgraph/pull/1
* Enforce DirectedEdge so that start and end must be different. Add Nod… by josek98 in https://github.com/josek98/pywgraph/pull/2

New Contributors
* josek98 made their first contribution in https://github.com/josek98/pywgraph/pull/1

**Full Changelog**: https://github.com/josek98/pywgraph/commits/v0.1.0

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.