#include <memory>
#include <string>
#include <cstddef>
#include "v_array.h"
#include <sys/types.h>
Go to the source code of this file.
|
template<class T > |
int | order_features (const void *first, const void *second) |
|
◆ audit_strings
◆ audit_strings_ptr
◆ feature_index
◆ feature_value
◆ order_features()
template<class T >
int order_features |
( |
const void * |
first, |
|
|
const void * |
second |
|
) |
| |
|
inline |
Definition at line 41 of file feature_group.h.
References feature::weight_index, and feature::x.
43 if (((T*)first)->weight_index != ((T*)second)->weight_index)
44 return (
int)(((T*)first)->weight_index - ((T*)second)->weight_index);
45 else if (((T*)first)->x > ((T*)second)->x)