listops.h

来自「数据挖掘中的关联规则算法」· C头文件 代码 · 共 27 行

H
27
字号
/*----------------------------------------------------------------------  File    : listops.h  Contents: some special list operations  Author  : Christian Borgelt  History : 02.11.2000 file created from file lists.h----------------------------------------------------------------------*/#ifndef __LISTOPS__#define __LISTOPS__/*----------------------------------------------------------------------  Type Definitions----------------------------------------------------------------------*/typedef struct _le {            /* --- a list element --- */  struct _le *succ;             /* pointer to successor */  struct _le *pred;             /* pointer to predecessor */} LE;                           /* (list element) */typedef int LCMPFN (const void *p1, const void *p2, void *data);/*----------------------------------------------------------------------  Functions----------------------------------------------------------------------*/extern void* l_sort    (void *list, LCMPFN cmpfn, void *data);extern void* l_reverse (void *list);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?