def compute_priority(self):
        return dict((name, i) for i, name in enumerate(self._full_order()))
Compute the name -> priority dictionary.
dataset/ETHPy150Open enthought/depsolver/depsolver/utils.py/Scheduler.compute_priority