Changes between Initial Version and Version 1 of Ticket #24094, comment 24


Ignore:
Timestamp:
Mar 11, 2019, 4:29:01 PM (4 years ago)
Author:
gh-rajat1433
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24094, comment 24

    initial v1  
    33I 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
    44{{{
    5 **        verts = list(self)**
     5        verts = list(self)
    66        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)
    88}}}