31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4. Implementation<br />

Two-dimensional dictionaries are implemented by dynamic two-dimensional range trees<br />

[90, 57] based on BB[α] trees. Operations insert, lookup, del item, del take time O(log 2 n),<br />

range search takes time O(k + log 2 n), where k is the size of the returned list, key, inf,<br />

empty, size, change inf take time O(1), and clear takes time O(n log n). Here n is the<br />

current size of the dictionary. <strong>The</strong> space requirement is O(n log n).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!