Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/networkx/networkx
/ pop
Method
pop
networkx/algorithms/simple_paths.py:588–592 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
586
self.paths.add(hashable_path)
587
588
def
pop(self):
589
(cost, num, path) = heappop(self.sortedpaths)
590
hashable_path = tuple(path)
591
self.paths.remove(hashable_path)
592
return
path
593
594
595
def
_bidirectional_shortest_path(
Callers
15
shortest_simple_paths
Function · 0.95
onion_layers
Function · 0.45
connected_double_edge_swap
Function · 0.45
cycle_basis
Function · 0.45
_directed_cycle_search
Function · 0.45
_undirected_cycle_search
Function · 0.45
_johnson_cycle_search
Function · 0.45
_bounded_cycle_search
Function · 0.45
chordless_cycles
Function · 0.45
_chordless_cycle_search
Function · 0.45
_unblock
Function · 0.45
circuit
Function · 0.45
Calls
1
remove
Method · 0.80
Tested by
15
shortest_augmenting_path_impl
Function · 0.36
test_no_covered_neighbors_no_labels
Method · 0.36
test_no_covered_neighbors_with_labels
Method · 0.36
test_no_covered_neighbors_no_labels
Method · 0.36
test_no_covered_neighbors_with_labels
Method · 0.36
test_cut_different_labels
Method · 0.36
test_cut_different_labels
Method · 0.36
test_cut_different_labels
Method · 0.36
test_restoring
Method · 0.36
test_restoring
Method · 0.36
test_articulation_points
Function · 0.36
check_cycle
Method · 0.36