class documentation
class ArchiveSortedList(SortedKeyList):
Constructor: ArchiveSortedList(iterable, key)
A class to represent a sorted list of nodes, together with additional methods that follow the definition in the paper.
Method | __init__ |
Initialize the sorted list with the given iterable and key function. |
Method | __str__ |
Return a string representation of the sorted list. |
Method | add |
Insert point p into the list, if s_x < p_x < next_x(s)_x or p_x < head_x_x |
Method | add |
Insert point p into the list, if s_y < p_y < next_y(s)_y or p_y < head_y_y |
Method | head |
Return the point q from the list, with the smallest q_x |
Method | head |
Return the point q from the list, with the smallest q_y |
Method | next |
Return the point q from the list, with the smallest q_x > s_x, for a given point s from the list |
Method | next |
Return the point q from the list, with the smallest q_y > s_y, for a given point s from the list |
Method | outer |
Return the point q from the list, with the smallest q_x > p_x, such that q_y < p_y |
Method | outer |
Return the point q from the list, with the smallest q_y > p_y, such that q_x < p_x |
Method | remove |
For s = outer_delimiter_y(p), remove all points q, such that p* <= q* from the list, and return them sorted by ascending order of q_x |
Method | remove |
For s = outer_delimiter_x(p), remove all points q, such that p* <= q* from the list, and return them sorted by ascending order of q_y |
For s = outer_delimiter_y(p), remove all points q, such that p* <= q* from the list, and return them sorted by ascending order of q_x