Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
Loading...
Searching...
No Matches
segment_tree Struct Reference

This structures holds all the data that is required by a segment tree. More...

Data Fields

void * root
 the root of formed segment tree
 
void * identity
 identity element for combine function
 
size_t elem_size
 size in bytes of each data element
 
size_t length
 total size of array which segment tree represents
 
combine_function combine
 the function to be used to combine two node's data to form parent's data
 

Detailed Description

This structures holds all the data that is required by a segment tree.


The documentation for this struct was generated from the following file: