|
libeblearn
|
#include <ebl_cost.h>
Public Member Functions | |
| cost_module (idx< T1 > &targets_) | |
Public Attributes | |
| idx< T1 > & | targets |
| all the input targets | |
| Tstate1 | in2 |
| a temporary buffer where targets are copied based on input label | |
| idx< T1 > | energies |
| the energy for each target | |
cost module base class
| ebl::cost_module< T1, T2, Tstate1, Tstate2 >::cost_module | ( | idx< T1 > & | targets_ | ) |
Constructor. Keep a reference to targets and allocate other buffers based on the targets order and dimensions.