Skip to content

Commit

Permalink
Release version 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
damianfraszczak committed Nov 20, 2024
1 parent 1eb7b4e commit 9951b35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.2] - 2024-11-20
### Changed
- Fixed dynamic age algorithm implementation.

## [0.1.1] - 2024-10-11
### Added
- Introduced nodes selection based on initial evaluation.
Expand Down
2 changes: 1 addition & 1 deletion src/nsdlib/algorithms/evaluation/dynamic_age.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def dynamic_age(network: Graph) -> Dict[int, float]:
----------
- [1] V. Fioriti i M. Chinnici, „Predicting the sources of an outbreak with a spectral technique”, ArXiv12112333 Math-Ph Physicsphysics, lis. 2012, Dostęp: 6 maj 2021. [Online]. Dostępne na: http://arxiv.org/abs/1211.2333
"""
A = nx.adjacency_matrix(network).todense().A
A = nx.adjacency_matrix(network).todense()
dynamicAges = {node: 0 for node in network.nodes}
lamda_max = max(np.linalg.eigvals(A)).real

Expand Down
2 changes: 1 addition & 1 deletion src/nsdlib/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""nsdlib package version."""

__version__ = "0.1.1"
__version__ = "0.1.2"

0 comments on commit 9951b35

Please sign in to comment.