1 #ifndef __PENALTY_INFO_H__
2 #define __PENALTY_INFO_H__
5 #include "Mathmatics.h"
24 enum ETransformType transform
;
26 struct penalty_struct
*next_pen
;
31 void init_penalty_struct(struct penalty_struct
&PEN
) ;
32 void delete_penalty_struct(struct penalty_struct
&PEN
) ;
33 void delete_penalty_struct_array(struct penalty_struct
*PEN
, INT len
) ;
36 //struct penalty_struct * read_penalty_struct_from_cell(const mxArray * mx_penalty_info, mwSize &P) ;
39 REAL
lookup_penalty(const struct penalty_struct
*PEN
, INT p_value
,
40 REAL
* svm_values
, bool follow_next
=true) ;