class documentation
A special data structure needed by FonsecaHyperVolume.
It consists of several doubly linked lists that share common nodes. So, every node has multiple predecessors and successors, one in every list.
| Class | |
Undocumented |
| Method | __init__ |
Constructor. |
| Method | __len__ |
Returns the number of lists that are included in this MultiList. |
| Method | __str__ |
Undocumented |
| Method | append |
Appends a node to the end of the list at the given index. |
| Method | extend |
Extends the list at the given index with the nodes. |
| Method | get |
Returns the length of the i-th list. |
| Method | reinsert |
Inserts 'node' at the position it had in all lists in [0, 'index'[ before it was removed. This method assumes that the next and previous nodes of the node that is reinserted are in the list. |
| Method | remove |
Removes and returns 'node' from all lists in [0, 'index'[. |
| Instance Variable | number |
Undocumented |
| Instance Variable | sentinel |
Undocumented |