Lines Matching refs:iu
1003 def adjust_score(iu, delta): argument
1004 iu.score += delta
1005 iu.heap_item.clear()
1006 iu.heap_item = HeapItem(iu)
1007 heapq.heappush(heap, iu.heap_item)
1018 for iu in u.incoming:
1019 adjust_score(iu, -iu.outgoing.pop(u))
1020 if not iu.outgoing:
1021 new_sinks[iu] = None
1032 for iu in u.outgoing:
1033 adjust_score(iu, +iu.incoming.pop(u))
1034 if not iu.incoming:
1035 new_sources[iu] = None
1053 for iu in u.outgoing:
1054 adjust_score(iu, +iu.incoming.pop(u))
1055 if not iu.incoming:
1056 sources[iu] = None
1058 for iu in u.incoming:
1059 adjust_score(iu, -iu.outgoing.pop(u))
1060 if not iu.outgoing:
1061 sinks[iu] = None