class PlifArray
Definition at line 23 of file PlifArray.h.
Public Member Functions | |
CPlifArray () | |
virtual | ~CPlifArray () |
void | add_plif (CPlifBase *new_plif) |
void | clear () |
int32_t | get_num_plifs () |
virtual float64_t | lookup_penalty (float64_t p_value, float64_t *svm_values) const |
virtual float64_t | lookup_penalty (int32_t p_value, float64_t *svm_values) const |
virtual void | penalty_clear_derivative () |
virtual void | penalty_add_derivative (float64_t p_value, float64_t *svm_values, float64_t factor) |
virtual float64_t | get_max_value () const |
virtual float64_t | get_min_value () const |
virtual bool | uses_svm_values () const |
virtual int32_t | get_max_id () const |
void | get_used_svms (int32_t *num_svms, int32_t *svm_ids) |
virtual void | list_plif () const |
virtual const char * | get_name () const |
Protected Attributes | |
DynArray< CPlifBase * > | m_array |
float64_t | max_value |
float64_t | min_value |
CPlifArray | ( | ) |
default constructor
Definition at line 25 of file PlifArray.cpp.
~CPlifArray | ( | ) | [virtual] |
Definition at line 32 of file PlifArray.cpp.
void add_plif | ( | CPlifBase * | new_plif | ) |
void clear | ( | ) |
clear
Definition at line 55 of file PlifArray.cpp.
int32_t get_max_id | ( | ) | const [virtual] |
get maximum ID
Implements CPlifBase.
Definition at line 125 of file PlifArray.cpp.
virtual float64_t get_max_value | ( | ) | const [virtual] |
get maximum value
Implements CPlifBase.
Definition at line 80 of file PlifArray.h.
virtual float64_t get_min_value | ( | ) | const [virtual] |
get minimum value
Implements CPlifBase.
Definition at line 89 of file PlifArray.h.
virtual const char* get_name | ( | void | ) | const [virtual] |
int32_t get_num_plifs | ( | ) |
void get_used_svms | ( | int32_t * | num_svms, | |
int32_t * | svm_ids | |||
) | [virtual] |
get SVM_ids and number of SVMs used
abstract base method
Implements CPlifBase.
Definition at line 133 of file PlifArray.cpp.
virtual void list_plif | ( | ) | const [virtual] |
print PLIF
lists all PLIFs in array
Implements CPlifBase.
Definition at line 112 of file PlifArray.h.
lookup penalty float64_t
p_value | value | |
svm_values | SVM values |
Implements CPlifBase.
Definition at line 62 of file PlifArray.cpp.
lookup penalty int32_t
p_value | value | |
svm_values | SVM values |
Implements CPlifBase.
Definition at line 78 of file PlifArray.cpp.
void penalty_add_derivative | ( | float64_t | p_value, | |
float64_t * | svm_values, | |||
float64_t | factor | |||
) | [virtual] |
penalty add derivative
p_value | value | |
svm_values | SVM values | |
factor | weighting the added value |
Implements CPlifBase.
Definition at line 110 of file PlifArray.cpp.
void penalty_clear_derivative | ( | ) | [virtual] |
bool uses_svm_values | ( | ) | const [virtual] |
check if plif uses SVM values
Implements CPlifBase.
Definition at line 117 of file PlifArray.cpp.
plif array
Definition at line 127 of file PlifArray.h.
maximum value
Definition at line 129 of file PlifArray.h.
minimum value
Definition at line 131 of file PlifArray.h.