Files
cAI/cKit/Sort/c_LSDRadixSort.h
2026-08-10 01:21:15 +08:00

17 lines
508 B
C

#ifndef INCLUDED_C_LSDRADIXSORT_H
#define INCLUDED_C_LSDRADIXSORT_H
#ifndef INCLUDED_C_BASE_H
#include <c_Base.h>
#endif /*INCLUDED_C_BASE_H*/
typedef struct {
c_size_t R; // Alphabet size / Radix constraints (e.g., 256 for ASCII chars or bytes)
c_size_t W; // Fixed length key width criteria (number of sorting passes/characters)
} c_LSDRadixSort_t;
c_err_t c_LSDRadixSort_Sort(const c_LSDRadixSort_t* sort, char** arr, c_size_t n);
#endif /*INCLUDED_C_LSDRADIXSORT_H*/