Changes between Initial Version and Version 1 of Ticket #27027


Ignore:
Timestamp:
01/07/19 09:19:36 (2 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27027

    • Property Summary changed from graph relabel() with callable should not sort vertices to graph relabel() assumes sortable vertices
  • Ticket #27027 – Description

    initial v1  
    1 This branch in `relabel()` should not rely on sorted vertices:
     1There are several cases in `relabel()` which assume sorting of vertices. In some cases (when given a list/tuple) this makes sense and is hard to avoid.
     2
     3The following should be fixed though:
     4
     51. `perm=None`. This should just relabel with integers from 0 to N-1.
     6
     72. `perm` is a callable. This is easy to avoid, as the ordering of the vertices is not used in the code:
    28{{{
    39        elif callable(perm):