UFJF - Machine Learning Toolkit  0.51.8
int_dll.h
1 //
2 // Created by mateus on 30/05/2021.
3 //
4 
5 #ifndef UFJFMLTK_INT_DLL_H
6 #define UFJFMLTK_INT_DLL_H
7 
8 namespace mltk::classifier {
9 /*double linked list of integers*/
10  struct int_dll {
11  int index = -1;
12  int_dll *prev = nullptr;
13  int_dll *next = nullptr;
14 
15  int_dll();
16 
17  static int_dll *remove(int_dll **node);
18 
19  static int_dll *append(int_dll *list);
20 
21  static void free(int_dll **head);
22  };
23  typedef struct int_dll int_dll;
24 }
25 
26 #endif //UFJFMLTK_INT_DLL_H
Namespace for classification methods.
Definition: classifier/Classifier.hpp:15
Definition: int_dll.h:10