index_heap.h 525 B

1234567891011121314151617181920212223242526
  1. /*
  2. * File: dclxvi-20130329/index_heap.h
  3. * Author: Ruben Niederhagen, Peter Schwabe
  4. * Public Domain
  5. */
  6. #ifndef INDEX_HEAP_H
  7. #define INDEX_HEAP_H
  8. #include "scalar.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. void heap_init(unsigned long long *h, unsigned long long hlen, scalar_t *s);
  13. void heap_get2max(unsigned long long *h, unsigned long long *max1, unsigned long long *max2, scalar_t *s);
  14. void heap_rootreplaced(unsigned long long *h, unsigned long long hlen, scalar_t *s);
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif