#include <stdlib.h>
#include "ensure_array_size.h"
#include "interval_tree.h"
#include "utils_core.h"
Go to the source code of this file.
|
static int | iv_compar (struct interval_node *a, struct interval_node *b) |
|
static double | tree_part (struct interval_node intervals[], size_t num_nodes) |
|
void | yac_generate_interval_tree (struct interval_node intervals[], size_t num_nodes) |
|
static void | overlap_push (struct overlaps *overlaps, size_t idx) |
|
static void | search_interval_tree_ (struct interval_node tree[], size_t num_nodes, struct interval query, struct overlaps *overlaps, size_t ofs) |
|
void | yac_search_interval_tree (struct interval_node tree[], size_t num_nodes, struct interval query, struct overlaps *overlaps) |
|
◆ iv_compar()
◆ overlap_push()
static void overlap_push |
( |
struct overlaps * | overlaps, |
|
|
size_t | idx ) |
|
inlinestatic |
◆ search_interval_tree_()
static void search_interval_tree_ |
( |
struct interval_node | tree[], |
|
|
size_t | num_nodes, |
|
|
struct interval | query, |
|
|
struct overlaps * | overlaps, |
|
|
size_t | ofs ) |
|
static |
◆ tree_part()
static double tree_part |
( |
struct interval_node | intervals[], |
|
|
size_t | num_nodes ) |
|
static |
◆ yac_generate_interval_tree()
void yac_generate_interval_tree |
( |
struct interval_node | intervals[], |
|
|
size_t | num_nodes ) |
◆ yac_search_interval_tree()