Changes between Initial Version and Version 1 of Ticket #24094, comment 24
- Timestamp:
- Mar 11, 2019, 4:29:01 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24094, comment 24
initial v1 3 3 I don't think least_effective_resistance requires vertices as a perimeter as the user is generally interested in finding the least resistance wrt the whole graph. Still if it is required I can add that. Although I did add this 4 4 {{{ 5 ** verts = list(self)** 5 verts = list(self) 6 6 verttoidx = {u: i for i, u in enumerate(verts)} 7 ** S = self.effective_resistance_matrix(vertices=verts, nonedgesonly=nonedgesonly)** 7 S = self.effective_resistance_matrix(vertices=verts, nonedgesonly=nonedgesonly) 8 8 }}}