sandialabs / pyrocs

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.
https://sandialabs.github.io/pyrocs/
Other
3 stars 1 forks source link

Fixing errors in dissimilarity matrix creation #14

Closed ThomasWomack closed 5 months ago

ThomasWomack commented 6 months ago

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: