class PlifArray
Definition at line 20 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) |
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 | |
CDynamicArray< CPlifBase * > | m_array |
float64_t | max_value |
float64_t | min_value |
CPlifArray::CPlifArray | ( | ) |
default constructor
Definition at line 23 of file PlifArray.cpp.
CPlifArray::~CPlifArray | ( | ) | [virtual] |
Definition at line 30 of file PlifArray.cpp.
void CPlifArray::add_plif | ( | CPlifBase * | new_plif | ) |
void CPlifArray::clear | ( | ) |
clear
Definition at line 53 of file PlifArray.cpp.
int32_t CPlifArray::get_max_id | ( | ) | const [virtual] |
get maximum ID
Implements CPlifBase.
Definition at line 123 of file PlifArray.cpp.
virtual float64_t CPlifArray::get_max_value | ( | ) | const [virtual] |
get maximum value
Implements CPlifBase.
Definition at line 76 of file PlifArray.h.
virtual float64_t CPlifArray::get_min_value | ( | ) | const [virtual] |
get minimum value
Implements CPlifBase.
Definition at line 85 of file PlifArray.h.
virtual const char* CPlifArray::get_name | ( | ) | const [virtual] |
int32_t CPlifArray::get_num_plifs | ( | ) |
void CPlifArray::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 131 of file PlifArray.cpp.
virtual void CPlifArray::list_plif | ( | ) | const [virtual] |
print PLIF
lists all PLIFs in array
Implements CPlifBase.
Definition at line 108 of file PlifArray.h.
lookup penalty int32_t
p_value | value | |
svm_values | SVM values |
Implements CPlifBase.
Definition at line 76 of file PlifArray.cpp.
lookup penalty float64_t
p_value | value | |
svm_values | SVM values |
Implements CPlifBase.
Definition at line 60 of file PlifArray.cpp.
penalty add derivative
p_value | value | |
svm_values | SVM values |
Implements CPlifBase.
Definition at line 108 of file PlifArray.cpp.
void CPlifArray::penalty_clear_derivative | ( | ) | [virtual] |
bool CPlifArray::uses_svm_values | ( | ) | const [virtual] |
check if plif uses SVM values
Implements CPlifBase.
Definition at line 115 of file PlifArray.cpp.
CDynamicArray<CPlifBase*> CPlifArray::m_array [protected] |
plif array
Definition at line 123 of file PlifArray.h.
float64_t CPlifArray::max_value [protected] |
maximum value
Definition at line 125 of file PlifArray.h.
float64_t CPlifArray::min_value [protected] |
minimum value
Definition at line 127 of file PlifArray.h.