pyRoCS is a library of functions used to support resilience analysis of complex systems. The package contains example datasets and tutorial to help demonstrate how the functions can be used.
Was accidentally comparing node type to itself, instead of the type of the other node.
The code to find the set of outgoing edge neighbors was also incorrect.
Motivation and Context
The dissimilarity matrix creation did not work as intended or documented before.
How has this been tested?
Yes
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
Fixing errors in dissimilarity matrix creation
Was accidentally comparing node type to itself, instead of the type of the other node. The code to find the set of outgoing edge neighbors was also incorrect.
Motivation and Context
The dissimilarity matrix creation did not work as intended or documented before.
How has this been tested?
Yes
Screenshots (if appropriate):
Types of changes
Checklist: