GCC Middle and Back End API Reference
|
#include <fibonacci_heap.h>
Public Member Functions | |
fibonacci_node () | |
fibonacci_node (K key, V *data=NULL) | |
int | compare (fibonacci_node_t *other) |
int | compare_data (K key) |
fibonacci_node_t * | remove () |
void | link (fibonacci_node_t *parent) |
K | get_key () |
V * | get_data () |
Private Types | |
typedef fibonacci_node< K, V > | fibonacci_node_t |
Private Member Functions | |
void | insert_after (fibonacci_node_t *b) |
void | insert_before (fibonacci_node_t *b) |
Private Attributes | |
fibonacci_node * | m_parent |
fibonacci_node * | m_child |
fibonacci_node * | m_left |
fibonacci_node * | m_right |
K | m_key |
V * | m_data |
unsigned int | m_degree: 31 |
unsigned int | m_mark: 1 |
Friends | |
class | fibonacci_heap< K, V > |
Fibonacci heap node class.
|
private |
|
inline |
|
inline |
|
inline |
References fibonacci_node< K, V >::m_key.
Referenced by fibonacci_heap< K, V >::consolidate(), fibonacci_heap< K, V >::replace_key_data(), and fibonacci_heap< K, V >::union_with().
|
inline |
Referenced by fibonacci_heap< K, V >::replace_key_data().
|
inline |
References fibonacci_node< K, V >::m_data.
Referenced by update_edge_key().
|
inline |
References fibonacci_node< K, V >::m_key.
Referenced by find_traces_1_round(), and update_edge_key().
|
private |
Put node B after this node.
Referenced by fibonacci_node< K, V >::insert_before().
|
inlineprivate |
References b, fibonacci_node< K, V >::insert_after(), and fibonacci_node< K, V >::m_left.
Referenced by fibonacci_node< K, V >::link().
void fibonacci_node< K, V >::link | ( | fibonacci_node_t * | parent | ) |
Link the node with PARENT.
References fibonacci_node< K, V >::insert_before(), fibonacci_node< K, V >::m_child, fibonacci_node< K, V >::m_degree, fibonacci_node< K, V >::m_mark, fibonacci_node< K, V >::m_parent, and NULL.
fibonacci_node< K, V > * fibonacci_node< K, V >::remove | ( | ) |
Remove fibonacci heap node.
References fibonacci_node< K, V >::m_child, fibonacci_node< K, V >::m_left, fibonacci_node< K, V >::m_parent, fibonacci_node< K, V >::m_right, and NULL.
Referenced by fibonacci_heap< K, V >::cut(), fibonacci_heap< K, V >::extract_min(), and fibonacci_heap< K, V >::remove_root().
|
friend |
|
private |
|
private |
|
private |
|
private |
Referenced by fibonacci_node< K, V >::compare(), fibonacci_node< K, V >::get_key(), fibonacci_heap< K, V >::insert(), fibonacci_heap< K, V >::insert_node(), fibonacci_heap< K, V >::min_key(), fibonacci_heap< K, V >::replace_data(), fibonacci_heap< K, V >::replace_key(), and fibonacci_heap< K, V >::replace_key_data().
|
private |
|
private |
Referenced by fibonacci_heap< K, V >::cut(), and fibonacci_node< K, V >::link().
|
private |
|
private |