Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
只是想知道,例如在维基百科页面Dijkstra's algorithm中绝对值条的含义O(|E| + |V|log|V|)
O(|E| + |V|log|V|)
垂直条表示集合的基数(或大小)。在 Dijkstra 算法的情况下,|E|是边|V|数, 是顶点数。
|E|
|V|