![]() |
NEURON
|
#include <sptree.hpp>
Public Member Functions | |
| SPTree ()=default | |
| bool | empty () const |
| int | get_enqcmps () const |
| void | enqueue (T *n) |
| T * | dequeue () |
| T * | first () |
| void | remove (T *n) |
| T * | find (double key) |
| void | apply_all (void(*f)(const T *, int), T *n) const |
Private Member Functions | |
| T * | dequeue (T **np) |
| void | splay (T *n) |
| T * | fast_first () const |
| T * | fast_next (T *n) const |
Private Attributes | |
| T * | root {} |
| int | enqcmps {} |
Definition at line 31 of file sptree.hpp.
| void SPTree< T >::apply_all | ( | void(*)(const T *, int) | f, |
| T * | n | ||
| ) | const |
Definition at line 471 of file sptree.hpp.
| T * SPTree< T >::dequeue |
Definition at line 251 of file sptree.hpp.
|
private |
Definition at line 256 of file sptree.hpp.
| bool SPTree< T >::empty |
Definition at line 124 of file sptree.hpp.
| void SPTree< T >::enqueue | ( | T * | n | ) |
Definition at line 134 of file sptree.hpp.
|
private |
Definition at line 478 of file sptree.hpp.
|
private |
Definition at line 491 of file sptree.hpp.
| T * SPTree< T >::find | ( | double | key | ) |
Definition at line 456 of file sptree.hpp.
| T * SPTree< T >::first |
Definition at line 413 of file sptree.hpp.
| int SPTree< T >::get_enqcmps |
Definition at line 129 of file sptree.hpp.
| void SPTree< T >::remove | ( | T * | n | ) |
Definition at line 431 of file sptree.hpp.
|
private |
Definition at line 317 of file sptree.hpp.
|
private |
Definition at line 120 of file sptree.hpp.
|
private |
Definition at line 117 of file sptree.hpp.